{
  "match_info": {
    "home_team": "Real Sociedad",
    "away_team": "Levante",
    "tournament": "LaLiga",
    "date": "20261025",
    "timezone": "America/New_York",
    "home_formation": "4-4-2",
    "away_formation": "4-3-3",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "2-1",
    "home_goals": 2,
    "away_goals": 1,
    "most_likely_score_probability": 0.0994,
    "most_likely_winning_score_home": "2-1",
    "most_likely_winning_score_home_probability": 0.0994,
    "most_likely_winning_score_away": "1-2",
    "most_likely_winning_score_away_probability": 0.0532,
    "match_resolution": "regulation",
    "predicted_winner": "Real Sociedad",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2189,
      "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.1029
      },
      {
        "score": "2-1",
        "probability": 0.0994
      },
      {
        "score": "1-0",
        "probability": 0.0978
      },
      {
        "score": "2-0",
        "probability": 0.0956
      },
      {
        "score": "3-1",
        "probability": 0.0644
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0512,
      "0-1": 0.052,
      "0-2": 0.0274,
      "0-3": 0.0095,
      "0-4": 0.0025,
      "0-5": 0.0005,
      "1-0": 0.0978,
      "1-1": 0.1029,
      "1-2": 0.0532,
      "1-3": 0.0184,
      "1-4": 0.0048,
      "1-5": 0.001,
      "2-0": 0.0956,
      "2-1": 0.0994,
      "2-2": 0.0517,
      "2-3": 0.0179,
      "2-4": 0.0047,
      "2-5": 0.001,
      "3-0": 0.0619,
      "3-1": 0.0644,
      "3-2": 0.0335,
      "3-3": 0.0116,
      "3-4": 0.003,
      "3-5": 0.0006,
      "4-0": 0.0301,
      "4-1": 0.0313,
      "4-2": 0.0163,
      "4-3": 0.0056,
      "4-4": 0.0015,
      "5-0": 0.0117,
      "5-1": 0.0122,
      "5-2": 0.0063,
      "5-3": 0.0022,
      "5-4": 0.0006,
      "6-0": 0.0038,
      "6-1": 0.0039,
      "6-2": 0.0021,
      "6-3": 0.0007,
      "7-0": 0.0011,
      "7-1": 0.0011,
      "7-2": 0.0006
    },
    "outcome": {
      "home_win": 0.5836,
      "draw": 0.2189,
      "away_win": 0.1975
    },
    "markets": {
      "over_2_5_goals": 0.5732,
      "under_2_5_goals": 0.4268,
      "btts_yes": 0.5546,
      "btts_no": 0.4454,
      "home_clean_sheet": 0.3535,
      "away_clean_sheet": 0.1431
    },
    "home_ratings": {
      "DR": 6.71,
      "MCR": 6.92,
      "ATR": 6.85,
      "GK": 7.07
    },
    "away_ratings": {
      "DR": 6.71,
      "MCR": 6.78,
      "ATR": 6.86,
      "GK": 7.0
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Sociedad vs Levante. Most likely scoreline: 2-1. Lambdas derived from 6 home and 6 away individual player duels. Head-to-head: Real Sociedad 4W-3D-3L vs Levante over 10 meetings.",
      "key_player": "Projected scorer(s): Orri Óskarsson, Mikel Oyarzabal, Iván Romero",
      "tactical_analysis": "Tactical parity between 4-4-2 and 4-3-3. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Beñat Turrientes vs Jon Ander Olasagasti will be the pivotal duel. Total antagonist xG — Home: 1.13, Away: 0.90. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Left Wing vs Right Back — Flank Battle."
    },
    "confidence": 0.76,
    "home_lambda": 1.944,
    "away_lambda": 1.04,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 4,
      "away_wins": 3,
      "draws": 3,
      "home_multiplier": 1.0071,
      "away_multiplier": 0.9929
    },
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1029,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.5836,
      "draw": 0.2189,
      "away_win": 0.1975
    },
    "favorite": "Real Sociedad",
    "favorite_win_probability": 0.5836,
    "fair_spread": 0.904,
    "fair_total": 2.984,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Sociedad",
        "estimate": 1.944,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Levante",
        "estimate": 1.04,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5732,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5546,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Sociedad",
        "estimate": 1.0,
        "probability": 0.3535,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Levante",
        "estimate": 1.0,
        "probability": 0.1431,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Orri Óskarsson (Real Sociedad)",
        "estimate": 0.5323,
        "probability": 0.4127,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Iván Romero (Levante)",
        "estimate": 0.3054,
        "probability": 0.2632,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Carlos Soler (Real Sociedad)",
        "estimate": 0.2237,
        "probability": 0.2004,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Jon Ander Olasagasti (Levante)",
        "estimate": 0.1463,
        "probability": 0.1361,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.984,
      "expected_total_shots": 25,
      "expected_total_passes": 727,
      "expected_pressing_actions_per_90": 12.5,
      "possession_home_pct": 51.0,
      "possession_away_pct": 49.0,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Sociedad",
      "favorite_win_probability": 0.5836,
      "script": "Real Sociedad is the fair winner side, but the baseline remains favorite-led: fair spread +0.90 goals and fair total 2.98.",
      "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; Levante must keep the match inside one goal.",
      "late_game": "A Real Sociedad lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Real Sociedad chance creation leans on Orri Óskarsson against Aïssa Mandi, Ifeanyi Ndukwe in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Sociedad: starters carry the main goal usage through Orri Óskarsson, Mikel Oyarzabal; bench watchlist: Jon Gorrotxategi, Gonçalo Guedes, Job Ochieng.",
      "Levante: starters carry the main goal usage through Iván Romero; bench watchlist: Etta Eyong, Petar Ratkov, Enzo Bardeli.",
      "Assist usage should flow through Sergio Gómez, Jon Ander Olasagasti; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Real Sociedad 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.49 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 Levante 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 Real Sociedad.",
      "Levante 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": {
    "Real Sociedad": {
      "formation": "4-4-2",
      "players": {
        "Jon Martin": {
          "player_id": 1466116,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 185,
          "market_value": 24000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 3,
            "total_shots": 0,
            "rating": 6.8013,
            "minutes": 90,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 38,
            "accurate_own_half_passes": 37,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 5.8888,
            "dispossessed": 0.2543,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0961,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0901,
            "expected_assists": 0.0156,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1645,
            "ball_carries": 21,
            "total_progression": 61,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.8,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.691,
            "opponent_faced": "Víctor García",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0862,
            "projected_assists": 0,
            "assist_probability": 0.0155,
            "finishing_factor": 1.2114,
            "creation_factor": 0.8361,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0661,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "total_pass": 55,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 4,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1976,
                "expected_assists": 0.0047,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 42,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 22,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 4,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 6,
                "rating": 4.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "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"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0611,
                "expected_assists": 0.01,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 69,
                "interceptions": 1,
                "clearances": 6,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0618,
                "expected_assists": 0.0365,
                "total_shots": 1,
                "total_pass": 54,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 5,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 50,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 62,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 46,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0667,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 43,
                "accurate_pass": 41,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2491,
            "combined_rank_score": 899.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 549.0,
            "sofascore_rating": 6.82,
            "sofascore_appearances": 25.0,
            "fifa_rank": 1249.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8013,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Martin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luca Tevere",
                  "ranking": 2486
                },
                {
                  "player_name": "Kyeong-jun Kim",
                  "ranking": 2487
                },
                {
                  "player_name": "Akramjon Komilov",
                  "ranking": 2488
                },
                {
                  "player_name": "Javier Nicolás Cárcamo",
                  "ranking": 2489
                },
                {
                  "player_name": "Kyeong Baek",
                  "ranking": 2490
                }
              ],
              "lower": [
                {
                  "player_name": "Sardor Abdunabiev",
                  "ranking": 2492
                },
                {
                  "player_name": "Yastin Cuevas",
                  "ranking": 2493
                },
                {
                  "player_name": "Igor Paixão",
                  "ranking": 2494
                },
                {
                  "player_name": "Carlos Espí",
                  "ranking": 2495
                },
                {
                  "player_name": "Joaquín Panichelli",
                  "ranking": 2496
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.79,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.79,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0068,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 360.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.2667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.27, 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.9461,
                "tackles": 1.2227,
                "tackles_won": 0.7013,
                "clearances": 6.0716,
                "aerial_won": 2.5519,
                "total_shots": 0.457,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 54.8535,
                "accurate_pass": 49.9013,
                "duels_won": 5.1165,
                "total_long_balls": 2.8693,
                "accurate_long_balls": 0.9794,
                "total_own_half_passes": 38.18,
                "accurate_own_half_passes": 36.7413,
                "total_opp_half_passes": 16.6735,
                "accurate_opp_half_passes": 13.1599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 67.7988,
                "possession_lost": 5.849,
                "dispossessed": 0.2526,
                "duels_lost": 3.2205,
                "aerial_lost": 1.3336,
                "total_contest": 0.4145,
                "won_contest": 0.092,
                "ball_recovery": 3.5476,
                "challenges_lost": 0.3495,
                "fouls": 1.0964,
                "fouls_drawn": 0.5424,
                "blocks": 0.8319,
                "goals": 0.0978,
                "goal_rate": 0.0978,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0701,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2394,
                "big_chances_created": 0.0,
                "xgot": 0.1279,
                "ball_carries": 20.8879,
                "total_progression": 60.439,
                "progressive_carries": 0.2917,
                "key_pass": 0.1238,
                "shots_off_target": 0.2176
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 6.0,
                    "is_starting": false,
                    "weight": 0.1283,
                    "rating": 4.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.4459,
                  "aerialWon": 2.7787,
                  "totalClearance_p90": 5.4459,
                  "totalTackle": 1.1173,
                  "totalPass": 47.5909
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.946094810962677,
                    "model_output": 0.9461,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1029
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0258
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.013
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0142,
                      "total": 0.9461,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.113306
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.028704
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.027264
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.013499
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.01195
                        }
                      ],
                      "others_margin": -0.014827
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2226678133010864,
                    "model_output": 1.2227,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.164
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0791
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0489
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0318
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0272
                        }
                      ],
                      "others": -0.1482,
                      "total": 1.2227,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111229
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.052082
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.033622
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.022525
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.019625
                        }
                      ],
                      "others_margin": -0.114428
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7012724280357361,
                    "model_output": 0.7013,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0928
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0354
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0339
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.028
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0267
                        }
                      ],
                      "others": -0.1219,
                      "total": 0.7013,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.103138
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.038124
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.037897
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.032448
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.031954
                        }
                      ],
                      "others_margin": -0.160161
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.071572780609131,
                    "model_output": 6.0716,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6784
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5798
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3824
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3166
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1846
                        }
                      ],
                      "others": 0.4784,
                      "total": 6.0716,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.179439
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.131369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.078078
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.060315
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.033563
                        }
                      ],
                      "others_margin": 0.082072
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.5519399642944336,
                    "model_output": 2.5519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.5747
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2217
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1621
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.093
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0881
                        }
                      ],
                      "others": 0.0303,
                      "total": 2.5519,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.347712
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107334
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.071771
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.038953
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.035568
                        }
                      ],
                      "others_margin": 0.011962
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4570288360118866,
                    "model_output": 0.457,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.058
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0478
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0187
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0155
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0451,
                      "total": 0.457,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.057985
                        },
                        {
                          "name": "rating",
                          "margin": -0.047844
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.018668
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.015484
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.01338
                        }
                      ],
                      "others_margin": -0.045016
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.80128812789917,
                    "model_output": 6.8013,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0264
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0121
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0118
                        }
                      ],
                      "others": 0.016,
                      "total": 6.8013,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.026413
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.017677
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015009
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.012058
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.011829
                        }
                      ],
                      "others_margin": 0.016015
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "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 1.0068, quality 0.669)",
              "stats": {
                "interceptions": 0.9525,
                "tackles": 1.231,
                "tackles_won": 0.706,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4601,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1039,
                "fouls_drawn": 0.5461,
                "blocks": 0.8376,
                "goals": 0.0985,
                "goal_rate": 0.0985,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.241,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0068,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0241)",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191
              },
              "params": {
                "blend_weight": 0.0241,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.706,
                  "after": 0.7251
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9525,
                  "after": 0.9356
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191
              },
              "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.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Víctor García",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0156,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1645,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0706,
                  "after": 0.0901
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0098,
                  "after": 0.0156
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0156,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1645,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2491,
                "fifa_rank": 1249.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0156,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1645,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0862,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0862,
                "goal_rate": 0.0961,
                "scorer_weight": 0.1091,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0519,
                "finishing_factor": 1.2114,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.9356,
                "tackles": 1.231,
                "tackles_won": 0.7251,
                "clearances": 6.1129,
                "aerial_won": 2.5693,
                "total_shots": 0.4611,
                "rating": 6.8013,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0156,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1645,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2191,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.691,
                "opponent_faced": "Víctor García",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0862,
                "projected_assists": 0,
                "assist_probability": 0.0155,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0155,
                "assist_rate": 0.0,
                "provider_weight": 0.013,
                "squad_weight_total": 1.3089,
                "weight_share": 0.01,
                "creation_factor": 0.8361,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Héctor Fort": {
          "player_id": 1402908,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 22,
          "height": 185,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6199,
            "minutes": 63,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 29,
            "possession_lost": 7.391,
            "dispossessed": 0.6562,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.3823,
            "goals": 0,
            "assist_rate": 0.2726,
            "assists": 0,
            "expected_goals": 0.0843,
            "expected_assists": 0.0275,
            "shots_on_target": 1,
            "big_chances_created": 0,
            "xgot": 0.2697,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Roger Brugué",
            "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.0808,
            "projected_assists": 0,
            "assist_probability": 0.0271,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 36,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 64,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0349,
                "expected_assists": 0.0177,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0342,
                "expected_assists": 0.0033,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083252,
              "match_date": "2026-04-26",
              "home_team": "Real Oviedo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083183,
              "match_date": "2025-12-21",
              "home_team": "Elche",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 12,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.182,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "tackles": 1,
                "clearances": 1,
                "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": 14083153,
              "match_date": "2025-12-07",
              "home_team": "Elche",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 59,
                "rating": 7.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.0428,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 12,
                "key_pass": 2,
                "tackles": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4463,
            "combined_rank_score": 2486.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 706.0,
            "sofascore_rating": 6.6929,
            "sofascore_appearances": 14.0,
            "fifa_rank": 4266.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6199,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hector Fort",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Valeriy Bondar",
                  "ranking": 4458
                },
                {
                  "player_name": "Volodymyr Brazhko",
                  "ranking": 4459
                },
                {
                  "player_name": "Jhohan Romaña",
                  "ranking": 4460
                },
                {
                  "player_name": "Branco Ampuero",
                  "ranking": 4461
                },
                {
                  "player_name": "Diego Rossi",
                  "ranking": 4462
                }
              ],
              "lower": [
                {
                  "player_name": "Agustín Palavecino",
                  "ranking": 4464
                },
                {
                  "player_name": "Ben Cabango",
                  "ranking": 4465
                },
                {
                  "player_name": "Federico Pereira",
                  "ranking": 4466
                },
                {
                  "player_name": "Alex Palmer",
                  "ranking": 4467
                },
                {
                  "player_name": "Cédric Itten",
                  "ranking": 4468
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 15,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 15,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0052,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 15 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.8142,
                "tackles": 1.7788,
                "tackles_won": 1.0811,
                "clearances": 2.7316,
                "aerial_won": 0.8784,
                "total_shots": 0.6621,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 16.9848,
                "accurate_pass": 13.877,
                "duels_won": 2.6493,
                "total_long_balls": 1.0935,
                "accurate_long_balls": 0.5762,
                "total_own_half_passes": 5.5349,
                "accurate_own_half_passes": 4.8458,
                "total_opp_half_passes": 11.45,
                "accurate_opp_half_passes": 9.0312,
                "crosses_total": 1.0239,
                "crosses_accurate": 0.1152,
                "touches": 28.8926,
                "possession_lost": 7.3528,
                "dispossessed": 0.6528,
                "duels_lost": 2.9087,
                "aerial_lost": 0.4841,
                "total_contest": 1.9887,
                "won_contest": 0.7673,
                "ball_recovery": 1.937,
                "challenges_lost": 0.2335,
                "fouls": 0.3168,
                "fouls_drawn": 0.0,
                "blocks": 0.0833,
                "goals": 0.3803,
                "goal_rate": 0.3803,
                "assists": 0.2712,
                "assist_rate": 0.2712,
                "expected_goals": 0.0657,
                "expected_assists": 0.0171,
                "shots_on_target": 0.6621,
                "big_chances_created": 0.0,
                "xgot": 0.2101,
                "ball_carries": 5.1037,
                "total_progression": 8.6625,
                "progressive_carries": 1.0583,
                "key_pass": 0.3864,
                "shots_off_target": 0.0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1644,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1397,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1187,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Deportivo Alavés",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1009,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0858,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Oviedo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0729,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 12.0,
                    "is_starting": true,
                    "weight": 0.062,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2025-12-07",
                    "opponent": "Girona FC",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0527,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-11-28",
                    "opponent": "Getafe",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0448,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0381,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.606,
                  "aerialWon": 0.2124,
                  "totalClearance_p90": 3.5188,
                  "totalTackle": 0.872,
                  "totalPass": 8.9266
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8142335414886475,
                    "model_output": 0.8142,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0991
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0904
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0373
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0348
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0311
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.8142,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.122864
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112703
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.043051
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.040116
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.037277
                        }
                      ],
                      "others_margin": -0.007004
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7787977457046509,
                    "model_output": 1.7788,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2049
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1523
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1075
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.094
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0906
                        }
                      ],
                      "others": -0.0832,
                      "total": 1.7788,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137157
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.090982
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.059559
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.049357
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.047536
                        }
                      ],
                      "others_margin": -0.04567
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.081050992012024,
                    "model_output": 1.0811,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1197
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.064
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0606
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0499
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0498
                        }
                      ],
                      "others": 0.0039,
                      "total": 1.0811,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131114
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.063638
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.060168
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.049803
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.04736
                        }
                      ],
                      "others_margin": 0.0036
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.731572151184082,
                    "model_output": 2.7316,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8121
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3956
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3573
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2162
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2036
                        }
                      ],
                      "others": 0.0414,
                      "total": 2.7316,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.268254
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13966
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.125274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.077664
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.072966
                        }
                      ],
                      "others_margin": 0.015265
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8784410953521729,
                    "model_output": 0.8784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4733
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1071
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0936
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0843
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0752
                        }
                      ],
                      "others": -0.0259,
                      "total": 0.8784,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.419221
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.125362
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110394
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.090008
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.079839
                        }
                      ],
                      "others_margin": -0.02914
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6621,
                    "model_output": 0.5302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0583
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0283
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.021
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0097
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.009
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.5302,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05826
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028338
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.020982
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.009667
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.009008
                        }
                      ],
                      "others_margin": -0.007251
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.619861125946045,
                    "model_output": 6.6199,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0351
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0204
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0197
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0167
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.06,
                      "total": 6.6199,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.035117
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.02045
                        },
                        {
                          "name": "touches",
                          "margin": -0.019743
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.016744
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.013309
                        }
                      ],
                      "others_margin": -0.059908
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 15,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0052, quality 0.575)",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goals": 0.3823,
                "goal_rate": 0.3823,
                "assists": 0.2726,
                "assist_rate": 0.2726,
                "expected_goals": 0.066,
                "expected_assists": 0.0172,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2112,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.0
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0052,
                "reference_quality": 0.505,
                "history_matches": 15,
                "history_shrink": 0.25,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goals": 0.3823,
                "goal_rate": 0.3823,
                "assists": 0.2726,
                "assist_rate": 0.2726,
                "expected_goals": 0.066,
                "expected_assists": 0.0172,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2112,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goals": 0.3823,
                "goal_rate": 0.3823,
                "assists": 0.2726,
                "assist_rate": 0.2726,
                "expected_goals": 0.066,
                "expected_assists": 0.0172,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2112,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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": "Roger Brugué",
                  "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 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goal_rate": 0.3823,
                "goals": 0,
                "assist_rate": 0.2726,
                "assists": 0,
                "expected_goals": 0.066,
                "expected_assists": 0.0172,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2112,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goal_rate": 0.3823,
                "goals": 0,
                "assist_rate": 0.2726,
                "assists": 0,
                "expected_goals": 0.0843,
                "expected_assists": 0.0275,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2697,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.066,
                  "after": 0.0843
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0172,
                  "after": 0.0275
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 72.0)",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goal_rate": 0.3823,
                "goals": 0,
                "assist_rate": 0.2726,
                "assists": 0,
                "expected_goals": 0.0843,
                "expected_assists": 0.0275,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2697,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4463,
                "fifa_rank": 4266.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goal_rate": 0.3823,
                "goals": 0,
                "assist_rate": 0.2726,
                "assists": 0,
                "expected_goals": 0.0843,
                "expected_assists": 0.0275,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2697,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.0808,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0808,
                "goal_rate": 0.3823,
                "scorer_weight": 0.1054,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0501,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.8185,
                "tackles": 1.788,
                "tackles_won": 1.0867,
                "clearances": 2.7458,
                "aerial_won": 0.883,
                "total_shots": 0.6655,
                "rating": 6.6199,
                "minutes": 62.98,
                "total_pass": 17.0731,
                "accurate_pass": 13.9492,
                "duels_won": 2.6631,
                "total_long_balls": 1.0992,
                "accurate_long_balls": 0.5792,
                "total_own_half_passes": 5.5637,
                "accurate_own_half_passes": 4.871,
                "total_opp_half_passes": 11.5095,
                "accurate_opp_half_passes": 9.0782,
                "crosses_total": 1.0292,
                "crosses_accurate": 0.1158,
                "touches": 29.0428,
                "possession_lost": 7.391,
                "dispossessed": 0.6562,
                "duels_lost": 2.9238,
                "aerial_lost": 0.4866,
                "total_contest": 1.999,
                "won_contest": 0.7713,
                "ball_recovery": 1.9471,
                "challenges_lost": 0.2347,
                "fouls": 0.3184,
                "fouls_drawn": 0.0,
                "blocks": 0.0837,
                "goal_rate": 0.3823,
                "goals": 0,
                "assist_rate": 0.2726,
                "assists": 0,
                "expected_goals": 0.0843,
                "expected_assists": 0.0275,
                "shots_on_target": 0.6655,
                "big_chances_created": 0.0,
                "xgot": 0.2697,
                "ball_carries": 5.1302,
                "total_progression": 8.7075,
                "progressive_carries": 1.0638,
                "key_pass": 0.3884,
                "shots_off_target": 0.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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.0808,
                "projected_assists": 0,
                "assist_probability": 0.0271,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0271,
                "assist_rate": 0.2726,
                "provider_weight": 0.0344,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0263,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Álex Remiro": {
          "player_id": 791773,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 191,
          "market_value": 9600000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0098,
            "rating": 7.0679,
            "minutes": 90,
            "total_pass": 39,
            "accurate_pass": 27,
            "total_long_balls": 21,
            "accurate_long_balls": 9,
            "touches": 49,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.5904,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 12.1995,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 22,
            "gk_engine_opponent_lambda": 1.1367,
            "shots_faced": 9.9,
            "expected_saves": 2.42,
            "high_pressure_saves": 0.83,
            "opponent_faced": "Iván Romero, Roger Brugué",
            "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": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 32,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 4,
                "goals_prevented": 0.1916
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 12,
                "clearances": 3,
                "ball_recovery": 11,
                "saves": 6,
                "goals_prevented": -0.451
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 16,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.9518
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "clearances": 4,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -1.0483
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 33,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": 0.1123
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 25,
                "ball_recovery": 3,
                "saves": 2,
                "goals_prevented": -0.2288
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 28,
                "ball_recovery": 11,
                "saves": 7,
                "goals_prevented": 0.2697
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 33,
                "ball_recovery": 14,
                "saves": 6,
                "goals_prevented": 1.5276
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 22,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -2.2689
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 30,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 12,
                "saves": 4,
                "goals_prevented": 0.1956
              },
              "has_player_stats": true,
              "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": 591,
            "combined_rank_score": 308.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 43.0,
            "sofascore_rating": 7.825,
            "sofascore_appearances": 4.0,
            "fifa_rank": 574.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0679,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álex Remiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "George Pickford",
                  "ranking": 586
                },
                {
                  "player_name": "Shane Nti",
                  "ranking": 587
                },
                {
                  "player_name": "Gnangoro Bouare Samake",
                  "ranking": 588
                },
                {
                  "player_name": "Nizar El Jmili Ben Hamou",
                  "ranking": 589
                },
                {
                  "player_name": "Manuel Angel Castillo Rodrguez",
                  "ranking": 590
                }
              ],
              "lower": [
                {
                  "player_name": "Dejan Kulusevski",
                  "ranking": 592
                },
                {
                  "player_name": "Inpyo Oh",
                  "ranking": 593
                },
                {
                  "player_name": "Leandro Paredes",
                  "ranking": 594
                },
                {
                  "player_name": "Claudio Sepúlveda",
                  "ranking": 595
                },
                {
                  "player_name": "Juan Manuel Requena",
                  "ranking": 596
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.79,
          "history_matches": 43,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.79,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0004,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 360.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2667
            },
            "rationale": "XGBoost regressor (G_service) evaluated 43 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.27, 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.9451,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.096,
                "accurate_pass": 27.1215,
                "total_long_balls": 21.0569,
                "accurate_long_balls": 9.4469,
                "touches": 49.2236,
                "clearances": 1.2409,
                "ball_recovery": 7.9943,
                "high_claims": 0.9703,
                "punches": 0.5902,
                "aerial_won": 0.1297,
                "sweeper_actions": 1.892,
                "sweeper_accurate": 1.8914,
                "saves_inside_box": 2.0914,
                "possession_lost": 12.1946,
                "duels_won": 0.2269,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1463,
                "total_own_half_passes": 24.5188,
                "accurate_own_half_passes": 21.9018
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.2776,
                  "distribution_accuracy": 0.879,
                  "sweeper_accuracy": 0.5862,
                  "goalkeeperValueNormalized": 0.1129,
                  "save_contribution": 3.1059,
                  "accurateKeeperSweeper": 1.8914
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.945112466812134,
                    "model_output": 2.9451,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0507
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0494
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0466
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0392
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0264
                        }
                      ],
                      "others": 0.0572,
                      "total": 2.9451,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.017457
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.017329
                        },
                        {
                          "name": "saves",
                          "margin": 0.016345
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.013549
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.009097
                        }
                      ],
                      "others_margin": 0.019599
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.009801453910768032,
                    "model_output": -0.0098,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": 0.0238
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0175
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0151
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0148
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0202,
                      "total": -0.0098,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "commanding_index",
                          "margin": 0.023844
                        },
                        {
                          "name": "punches",
                          "margin": 0.017527
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.015124
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.014822
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.014024
                        }
                      ],
                      "others_margin": -0.020234
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.067863941192627,
                    "model_output": 7.0679,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0259
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0238
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0201
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0193
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.013
                        }
                      ],
                      "others": 0.0085,
                      "total": 7.0679,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.025858
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.023837
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.020129
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.019312
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.013047
                        }
                      ],
                      "others_margin": 0.008276
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 43,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0004, quality 0.518)",
              "stats": {
                "saves": 2.9463,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1464,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "params": {
                "market_value_eur": 9600000,
                "quality_factor": 0.5177,
                "boost_factor": 1.0004,
                "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.0181)",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "params": {
                "blend_weight": 0.0181,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.9463,
                  "after": 2.9698
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "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.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 10.8,
                "expected_saves": 2.64,
                "high_pressure_saves": 0.91,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Romero, Roger Brugué",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.1367
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 10.8,
                "expected_saves": 2.64,
                "high_pressure_saves": 0.91,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 9.9,
                "expected_saves": 2.42,
                "high_pressure_saves": 0.83,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "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.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 10.8,
                  "after": 9.9
                },
                {
                  "stat": "expected_saves",
                  "before": 2.64,
                  "after": 2.42
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.91,
                  "after": 0.83
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 81.0)",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 9.9,
                "expected_saves": 2.42,
                "high_pressure_saves": 0.83,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 591,
                "fifa_rank": 574.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 9.9,
                "expected_saves": 2.42,
                "high_pressure_saves": 0.83,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "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": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.9698,
                "goals_prevented": -0.0098,
                "rating": 7.0679,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 1.1367,
                "shots_faced": 9.9,
                "expected_saves": 2.42,
                "high_pressure_saves": 0.83,
                "opponent_faced": "Iván Romero, Roger Brugué",
                "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": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Mamadou Sarr": {
          "player_id": 1154657,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 19,
          "height": 194,
          "market_value": 24000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6307,
            "minutes": 83,
            "total_pass": 51,
            "accurate_pass": 48,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 34,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 3.3105,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.1601,
            "expected_assists": 0.0145,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 16,
            "total_progression": 27,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Roger Brugué",
            "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.1479,
            "projected_assists": 0,
            "assist_probability": 0.0144,
            "finishing_factor": 0.8,
            "creation_factor": 0.846,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1024,
                "expected_assists": 0.0025,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 63,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 41,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0199,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 65,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16087727,
              "match_date": "2026-05-19",
              "home_team": "Chelsea",
              "away_team": "Tottenham Hotspur",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Chelsea",
              "opponent": "Tottenham Hotspur",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023971,
              "match_date": "2026-03-01",
              "home_team": "Arsenal",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Arsenal",
              "stats": {
                "minutes": 89,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4359,
                "expected_assists": 0.002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 44,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024007,
              "match_date": "2026-02-21",
              "home_team": "Chelsea",
              "away_team": "Burnley",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Chelsea",
              "opponent": "Burnley",
              "stats": {
                "minutes": 9,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3265,
            "combined_rank_score": 1210.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1444.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6307,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mamadou Sarr",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Da Cunha",
                  "ranking": 3260
                },
                {
                  "player_name": "Strahinja Pavlović",
                  "ranking": 3261
                },
                {
                  "player_name": "Félix Correia",
                  "ranking": 3262
                },
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                }
              ],
              "lower": [
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                },
                {
                  "player_name": "Urko González",
                  "ranking": 3267
                },
                {
                  "player_name": "Tasos Douvikas",
                  "ranking": 3268
                },
                {
                  "player_name": "Sam Beukema",
                  "ranking": 3269
                },
                {
                  "player_name": "Máximo Perrone",
                  "ranking": 3270
                }
              ]
            }
          },
          "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.0245,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.7613,
                "tackles": 1.4694,
                "tackles_won": 0.8969,
                "clearances": 3.2287,
                "aerial_won": 1.07,
                "total_shots": 0.3205,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 49.827,
                "accurate_pass": 47.207,
                "duels_won": 3.2741,
                "total_long_balls": 2.7279,
                "accurate_long_balls": 1.1079,
                "total_own_half_passes": 34.8367,
                "accurate_own_half_passes": 33.1088,
                "total_opp_half_passes": 14.9903,
                "accurate_opp_half_passes": 14.0982,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 59.1662,
                "possession_lost": 3.2313,
                "dispossessed": 0.0,
                "duels_lost": 1.3392,
                "aerial_lost": 0.6696,
                "total_contest": 0.6696,
                "won_contest": 0.3887,
                "ball_recovery": 2.0496,
                "challenges_lost": 0.0,
                "fouls": 0.3887,
                "fouls_drawn": 0.7191,
                "blocks": 0.6696,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1224,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 15.7862,
                "total_progression": 25.9494,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3205
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Tottenham Hotspur",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Arsenal",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Burnley",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8256,
                  "aerialWon": 0.4645,
                  "totalClearance_p90": 2.0878,
                  "totalTackle": 1.2037,
                  "totalPass": 33.8851
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7613358497619629,
                    "model_output": 0.7613,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0991
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0203
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0164
                        }
                      ],
                      "others": -0.0304,
                      "total": 0.7613,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.136325
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124402
                        },
                        {
                          "name": "touches",
                          "margin": -0.024273
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.022937
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.02054
                        }
                      ],
                      "others_margin": -0.039008
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4694242477416992,
                    "model_output": 1.4694,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1768
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0528
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0418
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0306
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.029
                        }
                      ],
                      "others": -0.0527,
                      "total": 1.4694,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119396
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.033053
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.026054
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.019533
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.018885
                        }
                      ],
                      "others_margin": -0.035195
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8968842625617981,
                    "model_output": 0.8969,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1045
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0332
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0311
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.027
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0221
                        }
                      ],
                      "others": -0.015,
                      "total": 0.8969,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115378
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034051
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.031874
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.0285
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.023921
                        }
                      ],
                      "others_margin": -0.01655
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.2286717891693115,
                    "model_output": 3.2287,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5724
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4267
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4133
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.364
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.296
                        }
                      ],
                      "others": 0.1697,
                      "total": 3.2287,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.181342
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138213
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.117801
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.103012
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.092354
                        }
                      ],
                      "others_margin": 0.053982
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0700069665908813,
                    "model_output": 1.07,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.3707
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1442
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1283
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1162
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1018
                        }
                      ],
                      "others": 0.0284,
                      "total": 1.07,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.312247
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133276
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.117672
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.107151
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.093197
                        }
                      ],
                      "others_margin": 0.026801
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3205219805240631,
                    "model_output": 0.3205,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.101
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0523
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0209
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0143
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0572,
                      "total": 0.3205,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.101023
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052303
                        },
                        {
                          "name": "rating",
                          "margin": -0.020933
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.014282
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.009531
                        }
                      ],
                      "others_margin": -0.057144
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.630709648132324,
                    "model_output": 6.6307,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.026
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0238
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0202
                        },
                        {
                          "name": "rating",
                          "contribution": -0.016
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0526,
                      "total": 6.6307,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.026032
                        },
                        {
                          "name": "touches",
                          "margin": -0.02377
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.020199
                        },
                        {
                          "name": "rating",
                          "margin": -0.016
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01581
                        }
                      ],
                      "others_margin": -0.05261
                    }
                  }
                ],
                "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 1.0245, quality 0.669)",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0245,
                "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": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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": "Roger Brugué",
                  "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 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0145,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1254,
                  "after": 0.1601
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0091,
                  "after": 0.0145
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0145,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3265,
                "fifa_rank": 1444.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0145,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.1479,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1479,
                "goal_rate": 0.0,
                "scorer_weight": 0.1281,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0608,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.78,
                "tackles": 1.5054,
                "tackles_won": 0.9189,
                "clearances": 3.3078,
                "aerial_won": 1.0962,
                "total_shots": 0.3284,
                "rating": 6.6307,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0145,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roger Brugué",
                "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.1479,
                "projected_assists": 0,
                "assist_probability": 0.0144,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0144,
                "assist_rate": 0.0,
                "provider_weight": 0.0123,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0094,
                "creation_factor": 0.846,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Sergio Gómez": {
          "player_id": 855835,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 171,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7716,
            "minutes": 85,
            "total_pass": 48,
            "accurate_pass": 42,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 22,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 73,
            "possession_lost": 13.3612,
            "dispossessed": 0.2393,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1606,
            "assists": 1,
            "expected_goals": 0.0237,
            "expected_assists": 0.2112,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0338,
            "ball_carries": 16,
            "total_progression": 44,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.7,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.583,
            "opponent_faced": "Iván Romero",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0234,
            "projected_assists": 1,
            "assist_probability": 0.1904,
            "finishing_factor": 0.8,
            "creation_factor": 1.1552,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0857,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0203,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1595,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 3,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0557,
                "expected_assists": 0.0718,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 59,
                "accurate_pass": 50,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0146,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 55,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1283,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0439,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 73,
                "accurate_pass": 66,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0322,
                "expected_assists": 0.0597,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 68,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3683,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2458,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 535.0,
            "sofascore_rating": 6.8286,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1239.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7716,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorrel Hato",
                  "ranking": 2453
                },
                {
                  "player_name": "Charles Pickel",
                  "ranking": 2454
                },
                {
                  "player_name": "Nicolás Otamendi",
                  "ranking": 2455
                },
                {
                  "player_name": "Walter Scott",
                  "ranking": 2456
                },
                {
                  "player_name": "Javier Rojas",
                  "ranking": 2457
                }
              ],
              "lower": [
                {
                  "player_name": "Jaka Bijol",
                  "ranking": 2459
                },
                {
                  "player_name": "Emiliano Ramos",
                  "ranking": 2460
                },
                {
                  "player_name": "Camilo Moya",
                  "ranking": 2461
                },
                {
                  "player_name": "Ji Dong-Won",
                  "ranking": 2462
                },
                {
                  "player_name": "Jefferson Savarino",
                  "ranking": 2463
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.788,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.788,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0022,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 341.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.79,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 42 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.25, 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.9355,
                "tackles": 1.7732,
                "tackles_won": 1.0676,
                "clearances": 2.5626,
                "aerial_won": 0.7735,
                "total_shots": 0.5522,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.5247,
                "accurate_pass": 41.6488,
                "duels_won": 3.3293,
                "total_long_balls": 3.6258,
                "accurate_long_balls": 2.3528,
                "total_own_half_passes": 22.553,
                "accurate_own_half_passes": 20.0862,
                "total_opp_half_passes": 24.9717,
                "accurate_opp_half_passes": 21.5626,
                "crosses_total": 5.2102,
                "crosses_accurate": 0.8979,
                "touches": 72.6005,
                "possession_lost": 13.3319,
                "dispossessed": 0.2388,
                "duels_lost": 2.3172,
                "aerial_lost": 0.47,
                "total_contest": 0.9473,
                "won_contest": 0.7072,
                "ball_recovery": 5.1121,
                "challenges_lost": 0.9005,
                "fouls": 0.5765,
                "fouls_drawn": 0.2604,
                "blocks": 0.3492,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1631,
                "assist_rate": 0.1631,
                "expected_goals": 0.0186,
                "expected_assists": 0.132,
                "shots_on_target": 0.1278,
                "big_chances_created": 0.3362,
                "xgot": 0.0264,
                "ball_carries": 15.9151,
                "total_progression": 44.3453,
                "progressive_carries": 0.7286,
                "key_pass": 1.2913,
                "shots_off_target": 0.4244
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.5519,
                  "aerialWon": 0.6176,
                  "totalClearance_p90": 2.9805,
                  "totalTackle": 1.6722,
                  "totalPass": 46.063
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9354711174964905,
                    "model_output": 0.9355,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1211
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0266
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0264
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0263
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0526,
                      "total": 0.9355,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132143
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.026828
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.026669
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.026537
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.016896
                        }
                      ],
                      "others_margin": -0.054648
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.773165225982666,
                    "model_output": 1.7732,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1953
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0658
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.065
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0544
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0468
                        }
                      ],
                      "others": 0.0456,
                      "total": 1.7732,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131124
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.040546
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.038538
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.031139
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.026726
                        }
                      ],
                      "others_margin": 0.026057
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0676090717315674,
                    "model_output": 1.0676,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1109
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0492
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0412
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0297
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0287
                        }
                      ],
                      "others": 0.0953,
                      "total": 1.0676,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122093
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.049727
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.041503
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.030945
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.029926
                        }
                      ],
                      "others_margin": 0.093536
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.562575578689575,
                    "model_output": 2.5626,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.447
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3811
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2559
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1982
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0826
                        }
                      ],
                      "others": -0.2862,
                      "total": 2.5626,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.138709
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119426
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.078583
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065436
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.028593
                        }
                      ],
                      "others_margin": -0.105874
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7734809517860413,
                    "model_output": 0.7735,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4106
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1205
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0957
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0632
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0524
                        }
                      ],
                      "others": -0.1071,
                      "total": 0.7735,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.352555
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116968
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.091748
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.065507
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.057768
                        }
                      ],
                      "others_margin": -0.129798
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5521878004074097,
                    "model_output": 0.5522,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0667
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0118
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0103
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0095
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.009
                        }
                      ],
                      "others": 0.0108,
                      "total": 0.5522,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.06667
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.011779
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.010302
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.009543
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.008969
                        }
                      ],
                      "others_margin": 0.010818
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.771552085876465,
                    "model_output": 6.7716,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": 0.0112
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0108
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.009
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0076,
                      "total": 6.7716,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.011225
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010793
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.008981
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.008365
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.006933
                        }
                      ],
                      "others_margin": -0.007695
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 37,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0022, quality 0.575)",
              "stats": {
                "interceptions": 0.9375,
                "tackles": 1.7771,
                "tackles_won": 1.07,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5534,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2217,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5778,
                "fouls_drawn": 0.261,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1635,
                "assist_rate": 0.1635,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1281,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0022,
                "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.0175)",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253
              },
              "params": {
                "blend_weight": 0.0175,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9426,
                "prior_reliability": 0.2533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 5.2217,
                  "after": 5.2302
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253
              },
              "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.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Romero",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0237,
                "expected_assists": 0.2112,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0338,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0186,
                  "after": 0.0237
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1323,
                  "after": 0.2112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0237,
                "expected_assists": 0.2112,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0338,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.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": 2458,
                "fifa_rank": 1239.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0237,
                "expected_assists": 0.2112,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0338,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0234,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0234,
                "goal_rate": 0.0,
                "scorer_weight": 0.019,
                "squad_weight_total": 2.1049,
                "weight_share": 0.009,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.9385,
                "tackles": 1.7771,
                "tackles_won": 1.073,
                "clearances": 2.5682,
                "aerial_won": 0.7752,
                "total_shots": 0.5567,
                "rating": 6.7716,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 1,
                "expected_goals": 0.0237,
                "expected_assists": 0.2112,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0338,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.4253,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.583,
                "opponent_faced": "Iván Romero",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0234,
                "projected_assists": 1,
                "assist_probability": 0.1904,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1904,
                "assist_rate": 0.1606,
                "provider_weight": 0.244,
                "squad_weight_total": 1.3089,
                "weight_share": 0.1864,
                "creation_factor": 1.1552,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Beñat Turrientes": {
          "player_id": 980410,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 179,
          "market_value": 10600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0892,
            "assist_rate": 0.0562,
            "assists": 0,
            "expected_goals": 0.0761,
            "goal_rate": 0.0624,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9019,
            "minutes": 79,
            "total_pass": 45,
            "accurate_pass": 41,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 7.1936,
            "dispossessed": 0.7827,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0932,
            "ball_carries": 17,
            "total_progression": 49,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0611,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.342,
            "pressing_faced": "LOW",
            "matchup_zone": "CM vs CDM + CM",
            "numerical_situation": "1v2",
            "opponent_defenders": "Oriol Rey, Daniel Requena",
            "opponent_faced": "Oriol Rey, Daniel Requena",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0733,
            "projected_assists": 0,
            "assist_probability": 0.0853,
            "finishing_factor": 1.0255,
            "creation_factor": 1.0028,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 88,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0631,
                "expected_assists": 0.0374,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 48,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 62,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0371,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0533,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 73,
                "accurate_pass": 72,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0139,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.1548,
                "total_shots": 1,
                "total_pass": 45,
                "accurate_pass": 40,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 43,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "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": "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": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 69,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "clearances": 1,
                "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": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 67,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0585,
                "expected_assists": 0.0135,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083346,
              "match_date": "2026-04-22",
              "home_team": "Real Sociedad",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Getafe",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0161,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 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": 976,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 4.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9019,
            "source_file": "data/player_rankings.csv",
            "player_name": "Beñat Turrientes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Agustín Giay",
                  "ranking": 971
                },
                {
                  "player_name": "Jin-woo Jo",
                  "ranking": 972
                },
                {
                  "player_name": "Zach Muscat",
                  "ranking": 973
                },
                {
                  "player_name": "Odil Abdumazhidov",
                  "ranking": 974
                },
                {
                  "player_name": "Otabek Boymurodov",
                  "ranking": 975
                }
              ],
              "lower": [
                {
                  "player_name": "José Aldo",
                  "ranking": 977
                },
                {
                  "player_name": "Matheus Henrique",
                  "ranking": 978
                },
                {
                  "player_name": "Azizkhon Isokov",
                  "ranking": 979
                },
                {
                  "player_name": "Esteban Páez",
                  "ranking": 980
                },
                {
                  "player_name": "Krzysztof Piątek",
                  "ranking": 981
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 31,
          "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": 31,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 257.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.4,
              "shots_on_target_pct": 75.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (M_service) evaluated 31 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.19, 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.8779,
                "expected_assists": 0.0558,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.0561,
                "goals": 0.0598,
                "goal_rate": 0.0598,
                "shots_on_target": 0.303,
                "total_shots": 1.0435,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0139,
                "accurate_pass": 40.4963,
                "duels_won": 3.6908,
                "total_long_balls": 1.7385,
                "accurate_long_balls": 0.9257,
                "total_own_half_passes": 21.3988,
                "accurate_own_half_passes": 19.7904,
                "total_opp_half_passes": 23.6151,
                "accurate_opp_half_passes": 20.706,
                "crosses_total": 0.4706,
                "crosses_accurate": 0.0362,
                "touches": 56.2675,
                "possession_lost": 7.1864,
                "dispossessed": 0.7819,
                "duels_lost": 3.1866,
                "aerial_won": 0.3331,
                "aerial_lost": 0.5363,
                "interceptions": 0.5149,
                "tackles_won": 0.9621,
                "tackles": 1.8162,
                "clearances": 1.7769,
                "total_contest": 0.8861,
                "won_contest": 0.6418,
                "challenges_lost": 0.9209,
                "fouls": 0.7853,
                "fouls_drawn": 0.8997,
                "blocks": 0.2928,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0687,
                "ball_carries": 17.3861,
                "total_progression": 49.3389,
                "progressive_carries": 0.7834,
                "shots_off_target": 0.7405
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8376,
                  "creative_index": 0.3143,
                  "expectedGoals": 0.0258,
                  "expectedAssists": 0.0382,
                  "onTargetScoringAttempt": 0.4894
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8779181838035583,
                    "model_output": 0.8779,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1155
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0873
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0699
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0388
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.027
                        }
                      ],
                      "others": 0.0452,
                      "total": 0.8779,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122529
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.091192
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.079507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.047035
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.032996
                        }
                      ],
                      "others_margin": 0.052822
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.055829934775829315,
                    "model_output": 0.0558,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0175
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0079
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0034
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0026
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0558,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.228533
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.180571
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130322
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.053795
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.041628
                        }
                      ],
                      "others_margin": -0.138448
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05710640549659729,
                    "model_output": 0.0571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0115
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.006
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0038
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0571,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.145218
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.095841
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.076923
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.051403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.040494
                        }
                      ],
                      "others_margin": -0.182237
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05610479786992073,
                    "model_output": 0.0561,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0316
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0087
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0047
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0043
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0122,
                      "total": 0.0561,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.407453
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129922
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.063723
                        },
                        {
                          "name": "goals",
                          "margin": -0.058218
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050619
                        }
                      ],
                      "others_margin": -0.197972
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.059758130460977554,
                    "model_output": 0.0598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0063
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0047
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0046
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0598,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.233291
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.112428
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.095166
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.071892
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065794
                        }
                      ],
                      "others_margin": -0.187837
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3029806613922119,
                    "model_output": 0.303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0479
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0394
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.019
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0159
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0325,
                      "total": 0.303,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.159952
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133293
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.05834
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.04656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043444
                        }
                      ],
                      "others_margin": -0.101844
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0435009002685547,
                    "model_output": 1.0435,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1466
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0648
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0444
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0371
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0344
                        }
                      ],
                      "others": -0.1113,
                      "total": 1.0435,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.146572
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.064751
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.044438
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037141
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.034409
                        }
                      ],
                      "others_margin": -0.111116
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.901925563812256,
                    "model_output": 6.9019,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0331
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0294
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0282
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0267,
                      "total": 6.9019,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.066275
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033119
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029441
                        },
                        {
                          "name": "rating",
                          "margin": -0.028227
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.02087
                        }
                      ],
                      "others_margin": -0.026684
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 19,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0010, quality 0.529)",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0559,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0562,
                "goals": 0.0598,
                "goal_rate": 0.0598,
                "shots_on_target": 0.3033,
                "total_shots": 1.0445,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4711,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 0.3334,
                "aerial_lost": 0.5368,
                "interceptions": 0.5154,
                "tackles_won": 0.9631,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7861,
                "fouls_drawn": 0.9006,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0688,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7412
              },
              "params": {
                "market_value_eur": 10600000,
                "quality_factor": 0.5295,
                "boost_factor": 1.001,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0175)",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0559,
                "assists": 0.0562,
                "assist_rate": 0.0562,
                "expected_goals": 0.0562,
                "goals": 0.0588,
                "goal_rate": 0.0588,
                "shots_on_target": 0.314,
                "total_shots": 1.0476,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 0.3334,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0688,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7412
              },
              "params": {
                "blend_weight": 0.0175,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8728,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.7861,
                  "after": 0.7724
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3033,
                  "after": 0.314
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9006,
                  "after": 0.8901
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5154,
                  "after": 0.5064
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0559,
                "assists": 0.0562,
                "assist_rate": 0.0562,
                "expected_goals": 0.0562,
                "goals": 0.0588,
                "goal_rate": 0.0588,
                "shots_on_target": 0.314,
                "total_shots": 1.0552,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 0.3334,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0688,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7412
              },
              "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.8788,
                "expected_assists": 0.0559,
                "assists": 0.0562,
                "assist_rate": 0.0562,
                "expected_goals": 0.0596,
                "goals": 0.0624,
                "goal_rate": 0.0624,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.073,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Oriol Rey, Daniel Requena",
                  "matchup_zone": "CM vs CDM + CM",
                  "duel_win_rate": 0.342,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0611,
                  "skill_edge": 0.0476,
                  "height_edge": -0.006,
                  "attacker_skill": 0.5431,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Oriol Rey",
                      "market_value": 1700000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Daniel Requena",
                      "market_value": 1500000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0596
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3334,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.0552,
                  "after": 1.1197
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7412,
                  "after": 0.7865
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.314,
                  "after": 0.3332
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0559,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0596,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.073,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0892,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0761,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0932,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0255,
                "creation_factor": 1.0028
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0596,
                  "after": 0.0761
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0559,
                  "after": 0.0892
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0892,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0761,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0932,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0255,
                "creation_factor": 1.0028,
                "fifa_overall": 81.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": 976,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.8788,
                "expected_assists": 0.0892,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0761,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0932,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0733,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0255,
                "creation_factor": 1.0028,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0733,
                "goal_rate": 0.0624,
                "scorer_weight": 0.078,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0371,
                "finishing_factor": 1.0255,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.8788,
                "expected_assists": 0.0892,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0761,
                "goal_rate": 0.0624,
                "goals": 0,
                "shots_on_target": 0.3332,
                "total_shots": 1.1197,
                "rating": 6.9019,
                "minutes": 78.55,
                "total_pass": 45.0589,
                "accurate_pass": 40.5368,
                "duels_won": 3.6945,
                "total_long_balls": 1.7402,
                "accurate_long_balls": 0.9266,
                "total_own_half_passes": 21.4202,
                "accurate_own_half_passes": 19.8102,
                "total_opp_half_passes": 23.6387,
                "accurate_opp_half_passes": 20.7267,
                "crosses_total": 0.4734,
                "crosses_accurate": 0.0362,
                "touches": 56.3238,
                "possession_lost": 7.1936,
                "dispossessed": 0.7827,
                "duels_lost": 3.1898,
                "aerial_won": 1.0,
                "aerial_lost": 0.5368,
                "interceptions": 0.5064,
                "tackles_won": 0.9673,
                "tackles": 1.818,
                "clearances": 1.7787,
                "total_contest": 0.887,
                "won_contest": 0.6424,
                "challenges_lost": 0.9218,
                "fouls": 0.7724,
                "fouls_drawn": 0.8901,
                "blocks": 0.2931,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0932,
                "ball_carries": 17.4035,
                "total_progression": 49.3882,
                "progressive_carries": 0.7842,
                "shots_off_target": 0.7865,
                "duel_xg_multiplier": 1.0611,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.342,
                "pressing_faced": "LOW",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Oriol Rey, Daniel Requena",
                "opponent_faced": "Oriol Rey, Daniel Requena",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0733,
                "projected_assists": 0,
                "assist_probability": 0.0853,
                "finishing_factor": 1.0255,
                "creation_factor": 1.0028,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0853,
                "assist_rate": 0.0562,
                "provider_weight": 0.0894,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0683,
                "creation_factor": 1.0028,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Orri Óskarsson": {
          "player_id": 1026015,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.5323,
            "goal_rate": 0.5175,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.056,
            "key_pass": 1,
            "rating": 6.7816,
            "minutes": 78,
            "total_pass": 11,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 7.9179,
            "dispossessed": 0.65,
            "duels_lost": 4,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.0027,
            "offsides": 1,
            "ball_carries": 4,
            "total_progression": 14,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.094,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.264,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
            "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4127,
            "projected_assists": 0,
            "assist_probability": 0.0545,
            "finishing_factor": 1.2157,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 79,
                "rating": 6.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1181,
                "expected_assists": 0.0107,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 13,
                "accurate_pass": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 35,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 4,
                "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"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0287,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 78,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0278,
                "expected_assists": 0.0284,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "clearances": 1,
                "aerial_won": 3,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1318,
                "expected_assists": 0.002,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9801,
                "expected_assists": 0.0082,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 6,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7635,
                "expected_assists": 0.0024,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.708,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0851,
                "expected_assists": 0.0118,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3712,
            "combined_rank_score": 1678.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 447.0,
            "sofascore_rating": 6.8947,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2909.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7816,
            "source_file": "data/player_rankings.csv",
            "player_name": "Orri Óskarsson",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ernest Muçi",
                  "ranking": 3707
                },
                {
                  "player_name": "Gabriel Suazo",
                  "ranking": 3708
                },
                {
                  "player_name": "İrfan Can Kahveci",
                  "ranking": 3709
                },
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                }
              ],
              "lower": [
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                },
                {
                  "player_name": "Viktor Johansson",
                  "ranking": 3714
                },
                {
                  "player_name": "Isaac Romero",
                  "ranking": 3715
                },
                {
                  "player_name": "Roman Yaremchuk",
                  "ranking": 3716
                },
                {
                  "player_name": "Joe Gelhardt",
                  "ranking": 3717
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 26,
          "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": 26,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0066,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 26 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.3785,
                "goals": 0.4699,
                "goal_rate": 0.4699,
                "shots_on_target": 1.0033,
                "total_shots": 2.3055,
                "expected_assists": 0.0349,
                "key_pass": 0.6341,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3025,
                "accurate_pass": 7.0197,
                "duels_won": 3.3359,
                "total_long_balls": 0.2111,
                "accurate_long_balls": 0.0491,
                "total_opp_half_passes": 8.2567,
                "accurate_opp_half_passes": 4.7102,
                "crosses_total": 0.5434,
                "crosses_accurate": 0.094,
                "touches": 21.2088,
                "possession_lost": 7.866,
                "dispossessed": 0.6457,
                "duels_lost": 4.249,
                "aerial_lost": 1.639,
                "total_contest": 0.5055,
                "won_contest": 0.2147,
                "ball_recovery": 0.8989,
                "challenges_lost": 0.3532,
                "fouls": 1.3203,
                "fouls_drawn": 1.09,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1684,
                "tackles": 0.2616,
                "clearances": 0.2109,
                "blocks": 0.1981,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.9117,
                "xgot": 0.7131,
                "offsides": 0.778,
                "ball_carries": 4.4543,
                "total_progression": 13.8148,
                "progressive_carries": 0.9839,
                "shots_off_target": 1.3022
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1522,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1294,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0795,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0353,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3459,
                  "totalOppositionHalfPasses": 6.0842,
                  "accurateOppositionHalfPasses": 3.2137,
                  "accuratePass": 5.4009,
                  "totalShots": 1.578
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3785311281681061,
                    "model_output": 0.3785,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0681
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0185
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0166
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0159
                        }
                      ],
                      "others": 0.0284,
                      "total": 0.3785,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.294291
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.11306
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.059938
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.051089
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.046558
                        }
                      ],
                      "others_margin": 0.078284
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4698801040649414,
                    "model_output": 0.4699,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0641
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0559
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0256
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0258
                        }
                      ],
                      "others": 0.0678,
                      "total": 0.4699,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.273423
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.189608
                        },
                        {
                          "name": "goals",
                          "margin": 0.075994
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.074573
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.066339
                        }
                      ],
                      "others_margin": 0.155649
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.003304123878479,
                    "model_output": 1.0033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.184
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0628
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.044
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0375
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0337
                        }
                      ],
                      "others": 0.1043,
                      "total": 1.0033,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.294707
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.083484
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.054601
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.044264
                        },
                        {
                          "name": "goals",
                          "margin": 0.038178
                        }
                      ],
                      "others_margin": 0.109859
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.305464267730713,
                    "model_output": 2.3055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5683
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1006
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.083
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0548
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.046
                        }
                      ],
                      "others": 0.0741,
                      "total": 2.3055,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.568325
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.100632
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.083026
                        },
                        {
                          "name": "goals",
                          "margin": 0.054834
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.045995
                        }
                      ],
                      "others_margin": 0.073946
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.034917425364255905,
                    "model_output": 0.0349,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0192
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0188
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0071
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.006
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0349,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.261828
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.255348
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.116765
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.110576
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.05791
                        }
                      ],
                      "others_margin": -0.331543
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6341469883918762,
                    "model_output": 0.6341,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2319
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0611
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.049
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.04
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0288
                        }
                      ],
                      "others": -0.0929,
                      "total": 0.6341,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295732
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.069782
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.059761
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.051538
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.038804
                        }
                      ],
                      "others_margin": -0.136763
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.78155517578125,
                    "model_output": 6.7816,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0542
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0156
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0153
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.015
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.0047,
                      "total": 6.7816,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05425
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01561
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015258
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.014987
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.014182
                        }
                      ],
                      "others_margin": -0.004794
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 11,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0066, quality 0.641)",
              "stats": {
                "expected_goals": 0.381,
                "goals": 0.473,
                "goal_rate": 0.473,
                "shots_on_target": 1.0099,
                "total_shots": 2.3207,
                "expected_assists": 0.0351,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.9177,
                "xgot": 0.7178,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.3108
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0066,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.381,
                "goals": 0.473,
                "goal_rate": 0.473,
                "shots_on_target": 1.0099,
                "total_shots": 2.3207,
                "expected_assists": 0.0351,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.9177,
                "xgot": 0.7178,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.3108
              },
              "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.4168,
                "goals": 0.5175,
                "goal_rate": 0.5175,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.0351,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 0.7853,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.264,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.094,
                  "skill_edge": 0.088,
                  "height_edge": -0.024,
                  "attacker_skill": 0.6408,
                  "defender_skill": 0.4453,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aïssa Mandi",
                      "market_value": 1100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Ifeanyi Ndukwe",
                      "market_value": 3200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4531
                    }
                  ],
                  "xg_override": 0.4168
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3207,
                  "after": 2.5388
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3108,
                  "after": 1.434
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0099,
                  "after": 1.1048
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.9177,
                  "after": 1.004
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.7178,
                  "after": 0.7853
                },
                {
                  "stat": "goals",
                  "before": 0.473,
                  "after": 0.5175
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.381,
                  "after": 0.4168
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.4168,
                "goal_rate": 0.5175,
                "goals": 0,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.0351,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 0.7853,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.5323,
                "goal_rate": 0.5175,
                "goals": 0,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.056,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 1.0027,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2157,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4168,
                  "after": 0.5323
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0351,
                  "after": 0.056
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.5323,
                "goal_rate": 0.5175,
                "goals": 0,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.056,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 1.0027,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2157,
                "creation_factor": 0.8,
                "fifa_overall": 74.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": 3712,
                "fifa_rank": 2909.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.5323,
                "goal_rate": 0.5175,
                "goals": 1,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.056,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 1.0027,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4127,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2157,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4127,
                "goal_rate": 0.5175,
                "scorer_weight": 0.6471,
                "squad_weight_total": 2.1049,
                "weight_share": 0.3074,
                "finishing_factor": 1.2157,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.5323,
                "goal_rate": 0.5175,
                "goals": 1,
                "shots_on_target": 1.1048,
                "total_shots": 2.5388,
                "expected_assists": 0.056,
                "key_pass": 0.6383,
                "rating": 6.7816,
                "minutes": 77.63,
                "total_pass": 11.3771,
                "accurate_pass": 7.066,
                "duels_won": 3.3579,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.0494,
                "total_opp_half_passes": 8.3112,
                "accurate_opp_half_passes": 4.7413,
                "crosses_total": 0.547,
                "crosses_accurate": 0.0946,
                "touches": 21.3488,
                "possession_lost": 7.9179,
                "dispossessed": 0.65,
                "duels_lost": 4.277,
                "aerial_lost": 1.6498,
                "total_contest": 0.5088,
                "won_contest": 0.2161,
                "ball_recovery": 0.9048,
                "challenges_lost": 0.3555,
                "fouls": 1.329,
                "fouls_drawn": 1.0972,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1695,
                "tackles": 0.2633,
                "clearances": 0.2123,
                "blocks": 0.1994,
                "big_chances_created": 0.0,
                "big_chances_missed": 1.004,
                "xgot": 1.0027,
                "offsides": 0.7831,
                "ball_carries": 4.4837,
                "total_progression": 13.906,
                "progressive_carries": 0.9904,
                "shots_off_target": 1.434,
                "duel_xg_multiplier": 1.094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4127,
                "projected_assists": 0,
                "assist_probability": 0.0545,
                "finishing_factor": 1.2157,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0545,
                "assist_rate": 0.0,
                "provider_weight": 0.0448,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0342,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Mikel Oyarzabal": {
          "player_id": 823622,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 181,
          "market_value": 27000000,
          "stats": {
            "expected_goals": 0.2978,
            "goal_rate": 0.2323,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1788,
            "key_pass": 1,
            "rating": 6.896,
            "minutes": 79,
            "total_pass": 25,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 10.9803,
            "dispossessed": 1.0623,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.1707,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.35,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 59,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0999,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.268,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
            "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2576,
            "projected_assists": 0,
            "assist_probability": 0.1637,
            "finishing_factor": 0.9968,
            "creation_factor": 1.25,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 9.3,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3536,
                "expected_assists": 0.1865,
                "total_shots": 5,
                "shots_on_target": 3,
                "total_pass": 60,
                "accurate_pass": 53,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 34,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8269,
                "expected_assists": 0.0634,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5377,
                "expected_assists": 0.1525,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0366,
                "expected_assists": 0.0379,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.09,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1853,
                "expected_assists": 0.0318,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 89,
                "rating": 7.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1597,
                "expected_assists": 0.4623,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 27,
                "accurate_pass": 18,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 57,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1764,
                "expected_assists": 0.0268,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 32,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0735,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 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": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0072,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 4,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 31,
            "combined_rank_score": 26.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 40.0,
            "sofascore_rating": 7.8667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 13.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.896,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Oyarzabal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joshua Kimmich",
                  "ranking": 26
                },
                {
                  "player_name": "Ljupche Doriev",
                  "ranking": 27
                },
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                },
                {
                  "player_name": "Marko Arnautović",
                  "ranking": 30
                }
              ],
              "lower": [
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                },
                {
                  "player_name": "Fermín López",
                  "ranking": 33
                },
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0062,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 268.0,
              "goals_per90": 0.0,
              "assists_per90": 0.6666666666666666,
              "shots_per90": 2.35,
              "shots_on_target_pct": 57.1,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (F_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.20, gls/90: 0.0, ast/90: 0.6666666666666666)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2107,
                "goals": 0.2129,
                "goal_rate": 0.2129,
                "shots_on_target": 0.6762,
                "total_shots": 1.9007,
                "expected_assists": 0.1113,
                "key_pass": 1.2961,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.5882,
                "accurate_pass": 19.1483,
                "duels_won": 3.682,
                "total_long_balls": 1.1278,
                "accurate_long_balls": 0.7285,
                "total_opp_half_passes": 15.9637,
                "accurate_opp_half_passes": 11.5279,
                "crosses_total": 0.326,
                "crosses_accurate": 0.0972,
                "touches": 38.4128,
                "possession_lost": 10.9126,
                "dispossessed": 1.0558,
                "duels_lost": 4.0637,
                "aerial_lost": 0.8769,
                "total_contest": 1.3204,
                "won_contest": 0.4783,
                "ball_recovery": 2.9339,
                "challenges_lost": 0.4581,
                "fouls": 0.8595,
                "fouls_drawn": 1.1682,
                "assists": 0.1638,
                "assist_rate": 0.1638,
                "interceptions": 0.3577,
                "tackles_won": 0.8046,
                "tackles": 0.9832,
                "clearances": 0.3032,
                "blocks": 0.0258,
                "big_chances_created": 0.1742,
                "big_chances_missed": 0.6672,
                "xgot": 0.2477,
                "offsides": 0.1352,
                "ball_carries": 12.6601,
                "total_progression": 58.4512,
                "progressive_carries": 3.0263,
                "shots_off_target": 1.2245
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.2343,
                  "totalOppositionHalfPasses": 14.5106,
                  "accurateOppositionHalfPasses": 10.4549,
                  "accuratePass": 17.3014,
                  "totalShots": 1.5867
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.21073018014431,
                    "model_output": 0.2107,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0611
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0427
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0338
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0146
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0134
                        }
                      ],
                      "others": -0.0571,
                      "total": 0.2107,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.267659
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.151969
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.118344
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.055913
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.051469
                        }
                      ],
                      "others_margin": -0.239339
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21288558840751648,
                    "model_output": 0.2129,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0601
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0265
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0187
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0157
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.2129,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.258511
                        },
                        {
                          "name": "goals",
                          "margin": -0.138459
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.109291
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.075844
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.068267
                        }
                      ],
                      "others_margin": -0.041369
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6762332320213318,
                    "model_output": 0.6762,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.171
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0647
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0525
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0367
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0229
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.6762,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276453
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.095845
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.078478
                        },
                        {
                          "name": "goals",
                          "margin": -0.054188
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.034225
                        }
                      ],
                      "others_margin": -0.008544
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9007244110107422,
                    "model_output": 1.9007,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4471
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0833
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0578
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0366
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0298
                        }
                      ],
                      "others": -0.017,
                      "total": 1.9007,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.447073
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.083254
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.05784
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.03658
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.029828
                        }
                      ],
                      "others_margin": -0.016877
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11133727431297302,
                    "model_output": 0.1113,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0121
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0092
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0051
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0052
                        }
                      ],
                      "others": 0.0048,
                      "total": 0.1113,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.17271
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.129794
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.100637
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.051299
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.049625
                        }
                      ],
                      "others_margin": 0.045199
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.2961406707763672,
                    "model_output": 1.2961,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2245
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1133
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0842
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0327
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0269
                        }
                      ],
                      "others": 0.1405,
                      "total": 1.2961,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.287496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.118749
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.079917
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.029433
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.023528
                        }
                      ],
                      "others_margin": 0.114827
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.896017074584961,
                    "model_output": 6.896,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0577
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0393
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0148
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0111
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0104
                        }
                      ],
                      "others": 0.0523,
                      "total": 6.896,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05769
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.039258
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.01481
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.011147
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.010429
                        }
                      ],
                      "others_margin": 0.052437
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0062, quality 0.694)",
              "stats": {
                "expected_goals": 0.212,
                "goals": 0.2142,
                "goal_rate": 0.2142,
                "shots_on_target": 0.6804,
                "total_shots": 1.9125,
                "expected_assists": 0.112,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.328,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8648,
                "fouls_drawn": 1.1754,
                "assists": 0.1648,
                "assist_rate": 0.1648,
                "interceptions": 0.3599,
                "tackles_won": 0.8096,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.136,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2321
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0062,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0141)",
              "stats": {
                "expected_goals": 0.212,
                "goals": 0.2112,
                "goal_rate": 0.2112,
                "shots_on_target": 0.6874,
                "total_shots": 1.9146,
                "expected_assists": 0.112,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2321
              },
              "params": {
                "blend_weight": 0.0141,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8763,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.1754,
                  "after": 1.1877
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8096,
                  "after": 0.7982
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6804,
                  "after": 0.6874
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1648,
                  "after": 0.1707
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.212,
                "goals": 0.2112,
                "goal_rate": 0.2112,
                "shots_on_target": 0.6874,
                "total_shots": 1.9195,
                "expected_assists": 0.112,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2321
              },
              "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.2332,
                "goals": 0.2323,
                "goal_rate": 0.2323,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.112,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.2741,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.268,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0999,
                  "skill_edge": 0.112,
                  "height_edge": -0.044,
                  "attacker_skill": 0.6941,
                  "defender_skill": 0.4453,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aïssa Mandi",
                      "market_value": 1100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Ifeanyi Ndukwe",
                      "market_value": 3200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4531
                    }
                  ],
                  "xg_override": 0.2332
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.9195,
                  "after": 2.1113
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2321,
                  "after": 1.3552
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6874,
                  "after": 0.7561
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6713,
                  "after": 0.7384
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2492,
                  "after": 0.2741
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.212,
                  "after": 0.2332
                },
                {
                  "stat": "goals",
                  "before": 0.2112,
                  "after": 0.2323
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2332,
                "goal_rate": 0.2323,
                "goals": 0,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.112,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.2741,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2978,
                "goal_rate": 0.2323,
                "goals": 0,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.1788,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.35,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9968,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2332,
                  "after": 0.2978
                },
                {
                  "stat": "expected_assists",
                  "before": 0.112,
                  "after": 0.1788
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 90.0)",
              "stats": {
                "expected_goals": 0.2978,
                "goal_rate": 0.2323,
                "goals": 0,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.1788,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.35,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9968,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 31,
                "fifa_rank": 13.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2978,
                "goal_rate": 0.2323,
                "goals": 1,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.1788,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.35,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2576,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9968,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.2576,
                "goal_rate": 0.2323,
                "scorer_weight": 0.2968,
                "squad_weight_total": 2.1049,
                "weight_share": 0.141,
                "finishing_factor": 0.9968,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.2978,
                "goal_rate": 0.2323,
                "goals": 1,
                "shots_on_target": 0.7561,
                "total_shots": 2.1113,
                "expected_assists": 0.1788,
                "key_pass": 1.3042,
                "rating": 6.896,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7384,
                "xgot": 0.35,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3552,
                "duel_xg_multiplier": 1.0999,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.268,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2576,
                "projected_assists": 0,
                "assist_probability": 0.1637,
                "finishing_factor": 0.9968,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1637,
                "assist_rate": 0.1707,
                "provider_weight": 0.2235,
                "squad_weight_total": 1.3089,
                "weight_share": 0.1708,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Ander Barrenetxea": {
          "player_id": 966862,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 174,
          "market_value": 17200000,
          "stats": {
            "expected_goals": 0.2058,
            "goal_rate": 0.2224,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1518,
            "key_pass": 1,
            "rating": 6.8826,
            "minutes": 67,
            "total_pass": 24,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 13,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 42,
            "possession_lost": 12.7326,
            "dispossessed": 1.8204,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.1071,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1961,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 52,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0159,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.211,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
            "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.186,
            "projected_assists": 0,
            "assist_probability": 0.1408,
            "finishing_factor": 1.25,
            "creation_factor": 1.0827,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3034,
                "expected_assists": 0.1962,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 88,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0376,
                "expected_assists": 0.0616,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 29,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2601,
                "expected_assists": 0.0116,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0467,
                "expected_assists": 0.0208,
                "total_shots": 2,
                "total_pass": 18,
                "accurate_pass": 14,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0924,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1233,
                "expected_assists": 0.0122,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0292,
                "expected_assists": 0.0355,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 34,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1694,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0225,
                "expected_assists": 0.5795,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1136,
            "combined_rank_score": 550.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 30.0,
            "fifa_rank": 589.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8826,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ander Barrenetxea",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ousmane Diomande",
                  "ranking": 1131
                },
                {
                  "player_name": "Rui Silva",
                  "ranking": 1132
                },
                {
                  "player_name": "Abror Karimov",
                  "ranking": 1133
                },
                {
                  "player_name": "Maximiliano Guerrero",
                  "ranking": 1134
                },
                {
                  "player_name": "Agustín Urzi",
                  "ranking": 1135
                }
              ],
              "lower": [
                {
                  "player_name": "Youstin Salas",
                  "ranking": 1137
                },
                {
                  "player_name": "Jegal Jae-min",
                  "ranking": 1138
                },
                {
                  "player_name": "Jin-hyeok Kim",
                  "ranking": 1139
                },
                {
                  "player_name": "Imeda Ashortia",
                  "ranking": 1140
                },
                {
                  "player_name": "Sunnatilla Abdullazhonov",
                  "ranking": 1141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0036,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 214.0,
              "goals_per90": 0.4166666666666667,
              "assists_per90": 0.0,
              "shots_per90": 1.68,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (F_service) evaluated 36 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.16, gls/90: 0.4166666666666667, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1582,
                "goals": 0.2169,
                "goal_rate": 0.2169,
                "shots_on_target": 0.543,
                "total_shots": 1.6266,
                "expected_assists": 0.0948,
                "key_pass": 1.1068,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.8485,
                "accurate_pass": 19.2227,
                "duels_won": 4.0269,
                "total_long_balls": 0.9295,
                "accurate_long_balls": 0.5623,
                "total_opp_half_passes": 17.6157,
                "accurate_opp_half_passes": 13.3805,
                "crosses_total": 2.2716,
                "crosses_accurate": 0.4291,
                "touches": 41.5341,
                "possession_lost": 12.6869,
                "dispossessed": 1.8139,
                "duels_lost": 5.7025,
                "aerial_lost": 0.423,
                "total_contest": 3.5564,
                "won_contest": 1.9072,
                "ball_recovery": 3.3172,
                "challenges_lost": 0.6667,
                "fouls": 1.1959,
                "fouls_drawn": 0.915,
                "assists": 0.1081,
                "assist_rate": 0.1081,
                "interceptions": 0.4521,
                "tackles_won": 0.5898,
                "tackles": 1.0466,
                "clearances": 0.2982,
                "blocks": 0.2749,
                "big_chances_created": 0.1789,
                "big_chances_missed": 0.1067,
                "xgot": 0.1507,
                "offsides": 0.348,
                "ball_carries": 13.9849,
                "total_progression": 51.3345,
                "progressive_carries": 2.2834,
                "shots_off_target": 1.0836
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 34.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0959,
                  "totalOppositionHalfPasses": 14.5804,
                  "accurateOppositionHalfPasses": 10.8392,
                  "accuratePass": 15.7321,
                  "totalShots": 1.3145
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15816792845726013,
                    "model_output": 0.1582,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0637
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0497
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.021
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0121
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.036,
                      "total": 0.1582,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.277661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.209601
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.103623
                        },
                        {
                          "name": "goals",
                          "margin": 0.060875
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.049872
                        }
                      ],
                      "others_margin": -0.20486
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21688047051429749,
                    "model_output": 0.2169,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0763
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0495
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0177
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.012
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.2169,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.317908
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.194386
                        },
                        {
                          "name": "goals",
                          "margin": 0.073966
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.049716
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.036863
                        }
                      ],
                      "others_margin": -0.048453
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5430151224136353,
                    "model_output": 0.543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1737
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0639
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0572
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0345
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0208
                        }
                      ],
                      "others": -0.0329,
                      "total": 0.543,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.280229
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.094244
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.09257
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.06032
                        },
                        {
                          "name": "goals",
                          "margin": 0.036829
                        }
                      ],
                      "others_margin": -0.058747
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6265915632247925,
                    "model_output": 1.6266,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4564
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0592
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0541
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0538
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0494
                        }
                      ],
                      "others": -0.0908,
                      "total": 1.6266,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.456367
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.059189
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.05407
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053777
                        },
                        {
                          "name": "goals",
                          "margin": 0.049398
                        }
                      ],
                      "others_margin": -0.090843
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09475889801979065,
                    "model_output": 0.0948,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0134
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.01
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0087
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0061
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0042
                        }
                      ],
                      "others": 0.0003,
                      "total": 0.0948,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.18931
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.120719
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.094915
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065042
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.0452
                        }
                      ],
                      "others_margin": 0.002933
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.1068100929260254,
                    "model_output": 1.1068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1588
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0985
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.057
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0357
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0335
                        }
                      ],
                      "others": 0.1633,
                      "total": 1.1068,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.211546
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.111818
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.06314
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.040003
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.036153
                        }
                      ],
                      "others_margin": 0.159661
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.882578372955322,
                    "model_output": 6.8826,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0635
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0182
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.014
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0135
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0132
                        }
                      ],
                      "others": 0.0344,
                      "total": 6.8826,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.06354
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.018188
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.013983
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.013478
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.013186
                        }
                      ],
                      "others_margin": 0.034419
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 26,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0036, quality 0.603)",
              "stats": {
                "expected_goals": 0.1587,
                "goals": 0.2177,
                "goal_rate": 0.2177,
                "shots_on_target": 0.545,
                "total_shots": 1.6325,
                "expected_assists": 0.0951,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2798,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2002,
                "fouls_drawn": 0.9183,
                "assists": 0.1085,
                "assist_rate": 0.1085,
                "interceptions": 0.4537,
                "tackles_won": 0.5919,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3493,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0875
              },
              "params": {
                "market_value_eur": 17200000,
                "quality_factor": 0.6027,
                "boost_factor": 1.0036,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0127)",
              "stats": {
                "expected_goals": 0.1587,
                "goals": 0.2189,
                "goal_rate": 0.2189,
                "shots_on_target": 0.542,
                "total_shots": 1.6276,
                "expected_assists": 0.0951,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0875
              },
              "params": {
                "blend_weight": 0.0127,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7428,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.4537,
                  "after": 0.4479
                },
                {
                  "stat": "totalCross",
                  "before": 2.2798,
                  "after": 2.2744
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1587,
                "goals": 0.2189,
                "goal_rate": 0.2189,
                "shots_on_target": 0.542,
                "total_shots": 1.6295,
                "expected_assists": 0.0951,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0875
              },
              "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.1612,
                "goals": 0.2224,
                "goal_rate": 0.2224,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.0951,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1536,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.211,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0159,
                  "skill_edge": 0.0708,
                  "height_edge": -0.06,
                  "attacker_skill": 0.6027,
                  "defender_skill": 0.4453,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aïssa Mandi",
                      "market_value": 1100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Ifeanyi Ndukwe",
                      "market_value": 3200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4531
                    }
                  ],
                  "xg_override": 0.1612
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6295,
                  "after": 1.6554
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0875,
                  "after": 1.1048
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.542,
                  "after": 0.5506
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1612,
                "goal_rate": 0.2224,
                "goals": 0,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.0951,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1536,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2058,
                "goal_rate": 0.2224,
                "goals": 0,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.1518,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1961,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0827
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1612,
                  "after": 0.2058
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0951,
                  "after": 0.1518
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.2058,
                "goal_rate": 0.2224,
                "goals": 0,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.1518,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1961,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0827,
                "fifa_overall": 81.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": 1136,
                "fifa_rank": 589.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2058,
                "goal_rate": 0.2224,
                "goals": 0,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.1518,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1961,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.186,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0827,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.186,
                "goal_rate": 0.2224,
                "scorer_weight": 0.2573,
                "squad_weight_total": 2.1049,
                "weight_share": 0.1222,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.2058,
                "goal_rate": 0.2224,
                "goals": 0,
                "shots_on_target": 0.5506,
                "total_shots": 1.6554,
                "expected_assists": 0.1518,
                "key_pass": 1.1108,
                "rating": 6.8826,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1088,
                "xgot": 0.1961,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.1048,
                "duel_xg_multiplier": 1.0159,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.186,
                "projected_assists": 0,
                "assist_probability": 0.1408,
                "finishing_factor": 1.25,
                "creation_factor": 1.0827,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1408,
                "assist_rate": 0.1071,
                "provider_weight": 0.1644,
                "squad_weight_total": 1.3089,
                "weight_share": 0.1256,
                "creation_factor": 1.0827,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Carlos Soler": {
          "player_id": 832427,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 180,
          "market_value": 6600000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2237,
            "assist_rate": 0.1133,
            "assists": 0,
            "expected_goals": 0.1477,
            "goal_rate": 0.1106,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9352,
            "minutes": 86,
            "total_pass": 46,
            "accurate_pass": 40,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 22,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 58,
            "possession_lost": 10.6664,
            "dispossessed": 0.7176,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2337,
            "ball_carries": 14,
            "total_progression": 42,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0234,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 2.1,
            "duel_win_rate": 0.476,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jeremy Toljan",
            "opponent_faced": "Jeremy Toljan",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1373,
            "projected_assists": 0,
            "assist_probability": 0.2004,
            "finishing_factor": 0.9692,
            "creation_factor": 0.859,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0977,
                "expected_assists": 0.2557,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 99,
                "accurate_pass": 91,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 69,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0422,
                "expected_assists": 0.157,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 31,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.9645,
                "expected_assists": 0.1993,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "key_pass": 2,
                "tackles": 2,
                "interceptions": 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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 78,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0152,
                "expected_assists": 0.0245,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 40,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2017,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.056,
                "expected_assists": 0.1916,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 44,
                "key_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 55,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 89,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 38,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1664,
            "combined_rank_score": 675.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 392.0,
            "sofascore_rating": 6.9485,
            "sofascore_appearances": 33.0,
            "fifa_rank": 958.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9352,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Soler",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abderrahman Rebbach",
                  "ranking": 1659
                },
                {
                  "player_name": "Petar Sučić",
                  "ranking": 1660
                },
                {
                  "player_name": "Giacomo Raspadori",
                  "ranking": 1661
                },
                {
                  "player_name": "Wataru Endo",
                  "ranking": 1662
                },
                {
                  "player_name": "Barış Alper Yılmaz",
                  "ranking": 1663
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Bentancur",
                  "ranking": 1665
                },
                {
                  "player_name": "Abdel Abqar",
                  "ranking": 1666
                },
                {
                  "player_name": "Sofyan Amrabat",
                  "ranking": 1667
                },
                {
                  "player_name": "Gang-han Lee",
                  "ranking": 1668
                },
                {
                  "player_name": "Choi Chi-ung",
                  "ranking": 1669
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 40,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9992,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 2.0,
              "minutes": 208.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.43,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.556,
                "expected_assists": 0.1402,
                "assists": 0.1147,
                "assist_rate": 0.1147,
                "expected_goals": 0.1132,
                "goals": 0.1094,
                "goal_rate": 0.1094,
                "shots_on_target": 0.3588,
                "total_shots": 1.155,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 46.0257,
                "accurate_pass": 39.7932,
                "duels_won": 2.4999,
                "total_long_balls": 3.1215,
                "accurate_long_balls": 2.1706,
                "total_own_half_passes": 19.3882,
                "accurate_own_half_passes": 17.9469,
                "total_opp_half_passes": 26.6375,
                "accurate_opp_half_passes": 21.8463,
                "crosses_total": 2.9692,
                "crosses_accurate": 0.6509,
                "touches": 57.8219,
                "possession_lost": 10.6749,
                "dispossessed": 0.7182,
                "duels_lost": 3.0362,
                "aerial_won": 0.1695,
                "aerial_lost": 0.2818,
                "interceptions": 0.5093,
                "tackles_won": 0.3934,
                "tackles": 1.0142,
                "clearances": 0.6062,
                "total_contest": 1.0266,
                "won_contest": 0.5216,
                "challenges_lost": 0.9681,
                "fouls": 0.6301,
                "fouls_drawn": 0.7946,
                "blocks": 0.2499,
                "big_chances_created": 0.3619,
                "big_chances_missed": 0.1018,
                "xgot": 0.1789,
                "ball_carries": 13.7198,
                "total_progression": 42.1972,
                "progressive_carries": 0.7195,
                "shots_off_target": 0.7962
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.9429,
                  "creative_index": 0.6979,
                  "expectedGoals": 0.1751,
                  "expectedAssists": 0.1122,
                  "onTargetScoringAttempt": 0.386
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5560427904129028,
                    "model_output": 1.556,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1414
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1491
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.093
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0785
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0556
                        }
                      ],
                      "others": 0.1522,
                      "total": 1.556,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.148007
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.135487
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.076098
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.059991
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.040402
                        }
                      ],
                      "others_margin": 0.102977
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14024725556373596,
                    "model_output": 0.1402,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0119
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0125
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0053
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0052
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0054
                        }
                      ],
                      "others": 0.0141,
                      "total": 0.1402,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.1302
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120305
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.046993
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.04419
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.043412
                        }
                      ],
                      "others_margin": 0.106599
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11471979320049286,
                    "model_output": 0.1147,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.007
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0061
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0063
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0049
                        }
                      ],
                      "others": 0.0123,
                      "total": 0.1147,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.08532
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.084277
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.069028
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.067249
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.048961
                        }
                      ],
                      "others_margin": 0.112949
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11319859325885773,
                    "model_output": 0.1132,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0259
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0166
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0065
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0062
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0038
                        }
                      ],
                      "others": -0.0148,
                      "total": 0.1132,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.242716
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129268
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.048433
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.048366
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.030397
                        }
                      ],
                      "others_margin": -0.124276
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10938710719347,
                    "model_output": 0.1094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0193
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0153
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0067
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.0117,
                      "total": 0.1094,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.180276
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12311
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089393
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.05425
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.05208
                        }
                      ],
                      "others_margin": -0.10261
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.35884740948677063,
                    "model_output": 0.3588,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.042
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.018
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0109
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0329,
                      "total": 0.3588,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121993
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.103978
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.045229
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.027726
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.018416
                        }
                      ],
                      "others_margin": -0.087871
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1550170183181763,
                    "model_output": 1.155,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1676
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0419
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0352
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0245
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.024
                        }
                      ],
                      "others": -0.0583,
                      "total": 1.155,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.16756
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.041906
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.035152
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.024454
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.02398
                        }
                      ],
                      "others_margin": -0.058195
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9352498054504395,
                    "model_output": 6.9352,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0751
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0344
                        },
                        {
                          "name": "rating",
                          "contribution": 0.023
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.02
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0181
                        }
                      ],
                      "others": -0.0081,
                      "total": 6.9352,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.075119
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.034403
                        },
                        {
                          "name": "rating",
                          "margin": 0.022998
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.019983
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018109
                        }
                      ],
                      "others_margin": -0.00805
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 31,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9992, quality 0.482)",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.1401,
                "assists": 0.1146,
                "assist_rate": 0.1146,
                "expected_goals": 0.1131,
                "goals": 0.1093,
                "goal_rate": 0.1093,
                "shots_on_target": 0.3586,
                "total_shots": 1.1542,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9668,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5089,
                "tackles_won": 0.3931,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6296,
                "fouls_drawn": 0.794,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7956
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9992,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0111)",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.1401,
                "assists": 0.1133,
                "assist_rate": 0.1133,
                "expected_goals": 0.1131,
                "goals": 0.1081,
                "goal_rate": 0.1081,
                "shots_on_target": 0.3546,
                "total_shots": 1.146,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7956
              },
              "params": {
                "blend_weight": 0.0111,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9526,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.3931,
                  "after": 0.4025
                },
                {
                  "stat": "totalShots",
                  "before": 1.1542,
                  "after": 1.146
                },
                {
                  "stat": "fouls",
                  "before": 0.6296,
                  "after": 0.6226
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.1401,
                "assists": 0.1133,
                "assist_rate": 0.1133,
                "expected_goals": 0.1131,
                "goals": 0.1081,
                "goal_rate": 0.1081,
                "shots_on_target": 0.3546,
                "total_shots": 1.1502,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7956
              },
              "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.5548,
                "expected_assists": 0.1401,
                "assists": 0.1133,
                "assist_rate": 0.1133,
                "expected_goals": 0.1157,
                "goals": 0.1106,
                "goal_rate": 0.1106,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.183,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jeremy Toljan",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.476,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0234,
                  "skill_edge": 0.024,
                  "height_edge": -0.008,
                  "attacker_skill": 0.4907,
                  "defender_skill": 0.4374,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jeremy Toljan",
                      "market_value": 1900000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1157
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1694,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.1502,
                  "after": 1.1771
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7956,
                  "after": 0.8142
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3546,
                  "after": 0.3629
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.1401,
                "assist_rate": 0.1133,
                "assists": 0,
                "expected_goals": 0.1157,
                "goal_rate": 0.1106,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.183,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.2237,
                "assist_rate": 0.1133,
                "assists": 0,
                "expected_goals": 0.1477,
                "goal_rate": 0.1106,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.2337,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9692,
                "creation_factor": 0.859
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1157,
                  "after": 0.1477
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1401,
                  "after": 0.2237
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.2237,
                "assist_rate": 0.1133,
                "assists": 0,
                "expected_goals": 0.1477,
                "goal_rate": 0.1106,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.2337,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9692,
                "creation_factor": 0.859,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1664,
                "fifa_rank": 958.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.5548,
                "expected_assists": 0.2237,
                "assist_rate": 0.1133,
                "assists": 0,
                "expected_goals": 0.1477,
                "goal_rate": 0.1106,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.2337,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1373,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9692,
                "creation_factor": 0.859,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1373,
                "goal_rate": 0.1106,
                "scorer_weight": 0.1432,
                "squad_weight_total": 2.1049,
                "weight_share": 0.068,
                "finishing_factor": 0.9692,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.5548,
                "expected_assists": 0.2237,
                "assist_rate": 0.1133,
                "assists": 0,
                "expected_goals": 0.1477,
                "goal_rate": 0.1106,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1771,
                "rating": 6.9352,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1041,
                "xgot": 0.2337,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8142,
                "duel_xg_multiplier": 1.0234,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.476,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jeremy Toljan",
                "opponent_faced": "Jeremy Toljan",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1373,
                "projected_assists": 0,
                "assist_probability": 0.2004,
                "finishing_factor": 0.9692,
                "creation_factor": 0.859,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2004,
                "assist_rate": 0.1133,
                "provider_weight": 0.1922,
                "squad_weight_total": 1.3089,
                "weight_share": 0.1468,
                "creation_factor": 0.859,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Takefusa Kubo": {
          "player_id": 880218,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 14,
          "height": 174,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.1785,
            "goal_rate": 0.1429,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1571,
            "key_pass": 1,
            "rating": 6.8314,
            "minutes": 70,
            "total_pass": 21,
            "accurate_pass": 16,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 38,
            "possession_lost": 11.4269,
            "dispossessed": 0.6856,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0967,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0601,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 67,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0411,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.228,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
            "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1635,
            "projected_assists": 0,
            "assist_probability": 0.1454,
            "finishing_factor": 1.0163,
            "creation_factor": 0.9885,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 71,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0211,
                "expected_assists": 0.0802,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4845,
                "expected_assists": 0.0393,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0988,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 58,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0329,
                "expected_assists": 0.0075,
                "total_shots": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 54,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4873,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0116,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 56,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1228,
            "combined_rank_score": 536.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 315.0,
            "sofascore_rating": 7.025,
            "sofascore_appearances": 24.0,
            "fifa_rank": 757.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8314,
            "source_file": "data/player_rankings.csv",
            "player_name": "Takefusa Kubo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlo Armiento",
                  "ranking": 1223
                },
                {
                  "player_name": "Jeyson Rojas",
                  "ranking": 1224
                },
                {
                  "player_name": "Chang-seok Lim",
                  "ranking": 1225
                },
                {
                  "player_name": "Nicola Nanni",
                  "ranking": 1226
                },
                {
                  "player_name": "Nikola Vlašić",
                  "ranking": 1227
                }
              ],
              "lower": [
                {
                  "player_name": "Trevoh Chalobah",
                  "ranking": 1229
                },
                {
                  "player_name": "Moussa Niakhaté",
                  "ranking": 1230
                },
                {
                  "player_name": "Mario Pašalić",
                  "ranking": 1231
                },
                {
                  "player_name": "Shohruh Gadoev",
                  "ranking": 1232
                },
                {
                  "player_name": "Matthieu Udol",
                  "ranking": 1233
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 29,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.006,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 203.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.89,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (F_service) evaluated 29 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.15, 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.1335,
                "goals": 0.1384,
                "goal_rate": 0.1384,
                "shots_on_target": 0.3998,
                "total_shots": 1.1349,
                "expected_assists": 0.0978,
                "key_pass": 0.9839,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.5564,
                "accurate_pass": 16.0889,
                "duels_won": 5.2851,
                "total_long_balls": 0.7945,
                "accurate_long_balls": 0.2189,
                "total_opp_half_passes": 15.3272,
                "accurate_opp_half_passes": 11.6943,
                "crosses_total": 1.5279,
                "crosses_accurate": 0.1403,
                "touches": 37.2901,
                "possession_lost": 11.3587,
                "dispossessed": 0.6815,
                "duels_lost": 4.3936,
                "aerial_lost": 0.4927,
                "total_contest": 3.6424,
                "won_contest": 2.0455,
                "ball_recovery": 2.1527,
                "challenges_lost": 0.9027,
                "fouls": 0.7199,
                "fouls_drawn": 2.2079,
                "assists": 0.0975,
                "assist_rate": 0.0975,
                "interceptions": 0.6498,
                "tackles_won": 0.6376,
                "tackles": 0.8244,
                "clearances": 0.4373,
                "blocks": 0.0,
                "big_chances_created": 0.3834,
                "big_chances_missed": 0.1977,
                "xgot": 0.0449,
                "offsides": 0.3101,
                "ball_carries": 13.6496,
                "total_progression": 67.0875,
                "progressive_carries": 3.8646,
                "shots_off_target": 0.735
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1514,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1094,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0571,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0926,
                  "totalOppositionHalfPasses": 11.2755,
                  "accurateOppositionHalfPasses": 8.6973,
                  "accuratePass": 11.7724,
                  "totalShots": 0.5862
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1334705948829651,
                    "model_output": 0.1335,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0673
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0563
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0263
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0082
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0074
                        }
                      ],
                      "others": -0.0346,
                      "total": 0.1335,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.29154
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.237631
                        },
                        {
                          "name": "goals",
                          "margin": -0.133878
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.045473
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.04329
                        }
                      ],
                      "others_margin": -0.230463
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13843029737472534,
                    "model_output": 0.1384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0648
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0526
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0297
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0122
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0112
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.1384,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276165
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.218034
                        },
                        {
                          "name": "goals",
                          "margin": -0.148035
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.067991
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.062286
                        }
                      ],
                      "others_margin": -0.290915
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3998478651046753,
                    "model_output": 0.3998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1637
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0832
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0673
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0442
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.03
                        }
                      ],
                      "others": -0.0762,
                      "total": 0.3998,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266126
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.126444
                        },
                        {
                          "name": "goals",
                          "margin": -0.115488
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.083798
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.061154
                        }
                      ],
                      "others_margin": -0.174118
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1348967552185059,
                    "model_output": 1.1349,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3917
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2123
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0948
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0582
                        }
                      ],
                      "others": -0.2042,
                      "total": 1.1349,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.391693
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.212276
                        },
                        {
                          "name": "goals",
                          "margin": -0.094825
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.066008
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058186
                        }
                      ],
                      "others_margin": -0.204209
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09783301502466202,
                    "model_output": 0.0978,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0139
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0078
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0054
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0052
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": 0.0063,
                      "total": 0.0978,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.196303
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.095153
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.061103
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.05508
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.054225
                        }
                      ],
                      "others_margin": 0.066548
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.9839469194412231,
                    "model_output": 0.9839,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2343
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0411
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0304
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0259
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0245
                        }
                      ],
                      "others": 0.0359,
                      "total": 0.9839,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.298322
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.046317
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.034493
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.028449
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.026206
                        }
                      ],
                      "others_margin": 0.037223
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8314290046691895,
                    "model_output": 6.8314,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0563
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0172
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0169
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.013
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0119
                        }
                      ],
                      "others": 0.0221,
                      "total": 6.8314,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056292
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.017206
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.016907
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.012978
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.011891
                        }
                      ],
                      "others_margin": 0.022221
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 29,
                  "role_matches": 20,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0060, quality 0.641)",
              "stats": {
                "expected_goals": 0.1343,
                "goals": 0.1393,
                "goal_rate": 0.1393,
                "shots_on_target": 0.4022,
                "total_shots": 1.1417,
                "expected_assists": 0.0984,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5371,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7242,
                "fouls_drawn": 2.2211,
                "assists": 0.0981,
                "assist_rate": 0.0981,
                "interceptions": 0.6537,
                "tackles_won": 0.6414,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.1989,
                "xgot": 0.0452,
                "offsides": 0.312,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7394
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.006,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0147)",
              "stats": {
                "expected_goals": 0.1343,
                "goals": 0.1373,
                "goal_rate": 0.1373,
                "shots_on_target": 0.3963,
                "total_shots": 1.1351,
                "expected_assists": 0.0984,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assists": 0.0967,
                "assist_rate": 0.0967,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.1989,
                "xgot": 0.0452,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7394
              },
              "params": {
                "blend_weight": 0.0147,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7751,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.2211,
                  "after": 2.2132
                },
                {
                  "stat": "totalShots",
                  "before": 1.1417,
                  "after": 1.1351
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4022,
                  "after": 0.3963
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1343,
                "goals": 0.1373,
                "goal_rate": 0.1373,
                "shots_on_target": 0.3963,
                "total_shots": 1.1357,
                "expected_assists": 0.0984,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assists": 0.0967,
                "assist_rate": 0.0967,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.1989,
                "xgot": 0.0452,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7394
              },
              "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.1398,
                "goals": 0.1429,
                "goal_rate": 0.1429,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.0984,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assists": 0.0967,
                "assist_rate": 0.0967,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0471,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.228,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0411,
                  "skill_edge": 0.088,
                  "height_edge": -0.06,
                  "attacker_skill": 0.6408,
                  "defender_skill": 0.4453,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aïssa Mandi",
                      "market_value": 1100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Ifeanyi Ndukwe",
                      "market_value": 3200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4531
                    }
                  ],
                  "xg_override": 0.1398
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.1357,
                  "after": 1.1824
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7394,
                  "after": 0.7698
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3963,
                  "after": 0.4126
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1989,
                  "after": 0.2071
                },
                {
                  "stat": "goals",
                  "before": 0.1373,
                  "after": 0.1429
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1343,
                  "after": 0.1398
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1398,
                "goal_rate": 0.1429,
                "goals": 0,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.0984,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assist_rate": 0.0967,
                "assists": 0,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0471,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1785,
                "goal_rate": 0.1429,
                "goals": 0,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.1571,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assist_rate": 0.0967,
                "assists": 0,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0601,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0163,
                "creation_factor": 0.9885
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1398,
                  "after": 0.1785
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0984,
                  "after": 0.1571
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.1785,
                "goal_rate": 0.1429,
                "goals": 0,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.1571,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assist_rate": 0.0967,
                "assists": 0,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0601,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0163,
                "creation_factor": 0.9885,
                "fifa_overall": 80.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": 1228,
                "fifa_rank": 757.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1785,
                "goal_rate": 0.1429,
                "goals": 0,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.1571,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assist_rate": 0.0967,
                "assists": 0,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0601,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1635,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0163,
                "creation_factor": 0.9885,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1635,
                "goal_rate": 0.1429,
                "scorer_weight": 0.1814,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0862,
                "finishing_factor": 1.0163,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.1785,
                "goal_rate": 0.1429,
                "goals": 0,
                "shots_on_target": 0.4126,
                "total_shots": 1.1824,
                "expected_assists": 0.1571,
                "key_pass": 0.9899,
                "rating": 6.8314,
                "minutes": 69.76,
                "total_pass": 20.6797,
                "accurate_pass": 16.1854,
                "duels_won": 5.3168,
                "total_long_balls": 0.7993,
                "accurate_long_balls": 0.2202,
                "total_opp_half_passes": 15.4192,
                "accurate_opp_half_passes": 11.7645,
                "crosses_total": 1.5343,
                "crosses_accurate": 0.1411,
                "touches": 37.5138,
                "possession_lost": 11.4269,
                "dispossessed": 0.6856,
                "duels_lost": 4.42,
                "aerial_lost": 0.4957,
                "total_contest": 3.6643,
                "won_contest": 2.0578,
                "ball_recovery": 2.1656,
                "challenges_lost": 0.9081,
                "fouls": 0.7284,
                "fouls_drawn": 2.2132,
                "assist_rate": 0.0967,
                "assists": 0,
                "interceptions": 0.6491,
                "tackles_won": 0.6419,
                "tackles": 0.8293,
                "clearances": 0.4399,
                "blocks": 0.0,
                "big_chances_created": 0.3857,
                "big_chances_missed": 0.2071,
                "xgot": 0.0601,
                "offsides": 0.3074,
                "ball_carries": 13.7315,
                "total_progression": 67.49,
                "progressive_carries": 3.8878,
                "shots_off_target": 0.7698,
                "duel_xg_multiplier": 1.0411,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.228,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Aïssa Mandi, Ifeanyi Ndukwe",
                "opponent_faced": "Aïssa Mandi, Ifeanyi Ndukwe",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1635,
                "projected_assists": 0,
                "assist_probability": 0.1454,
                "finishing_factor": 1.0163,
                "creation_factor": 0.9885,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1454,
                "assist_rate": 0.0967,
                "provider_weight": 0.1553,
                "squad_weight_total": 1.3089,
                "weight_share": 0.1186,
                "creation_factor": 0.9885,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Unai Marrero": {
          "player_id": 1094782,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 187,
          "market_value": 1100000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0218,
            "rating": 7.2092,
            "minutes": 4,
            "total_pass": 6,
            "accurate_pass": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "touches": 8,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.234,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 1,
            "possession_lost": 2.1715,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 26,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 8,
                "goals_prevented": -0.0376
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 13,
                "saves": 7,
                "goals_prevented": 0.7581
              },
              "has_player_stats": true,
              "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": 3493,
            "combined_rank_score": 1479.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2906.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2092,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Marrero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tyrhys Dolan",
                  "ranking": 3488
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Ilan Kebbal",
                  "ranking": 3494
                },
                {
                  "player_name": "Mousa Al Tamari",
                  "ranking": 3495
                },
                {
                  "player_name": "Baptiste Santamaria",
                  "ranking": 3496
                },
                {
                  "player_name": "Quentin Merlin",
                  "ranking": 3497
                },
                {
                  "player_name": "Eddie Nketiah",
                  "ranking": 3498
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (2 historical appearances) to 4.4 expected mins (appearance prob 0.11); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9495,
                "goals_prevented": -0.1434,
                "rating": 7.2092,
                "minutes": 28.5,
                "total_pass": 37.4595,
                "accurate_pass": 23.7027,
                "total_long_balls": 27.4595,
                "accurate_long_balls": 13.7027,
                "touches": 52.5405,
                "clearances": 1.5405,
                "ball_recovery": 11.9189,
                "high_claims": 1.0,
                "punches": 1.5405,
                "aerial_won": 0.5405,
                "sweeper_actions": 1.0,
                "sweeper_accurate": 1.0,
                "saves_inside_box": 5.4595,
                "possession_lost": 14.2973,
                "duels_won": 0.5405,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 19.9189,
                "accurate_own_half_passes": 15.7027
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.4595,
                  "distribution_accuracy": 0.7965,
                  "sweeper_accuracy": 0.4595,
                  "goalkeeperValueNormalized": 0.4835,
                  "save_contribution": 7.8685,
                  "accurateKeeperSweeper": 1.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9495301246643066,
                    "model_output": 2.9495,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.184
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0476
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.046
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0443
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0388
                        }
                      ],
                      "others": 0.1202,
                      "total": 2.9495,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.064888
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.017194
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.016607
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.016002
                        },
                        {
                          "name": "saves",
                          "margin": 0.013808
                        }
                      ],
                      "others_margin": 0.041599
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.14338453114032745,
                    "model_output": -0.1434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "punches",
                          "contribution": -0.0378
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0188
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0185
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0163
                        }
                      ],
                      "others": -0.0159,
                      "total": -0.1434,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": -0.037806
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.019541
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.018754
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.018524
                        },
                        {
                          "name": "rating",
                          "margin": -0.016286
                        }
                      ],
                      "others_margin": -0.015862
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.209165573120117,
                    "model_output": 7.2092,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0715
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0435
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0378
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0254
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0175
                        }
                      ],
                      "others": 0.0044,
                      "total": 7.2092,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.071523
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.043491
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.037806
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.025386
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.01755
                        }
                      ],
                      "others_margin": 0.004288
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 2,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9855, quality 0.437)",
              "stats": {
                "saves": 2.9068,
                "goals_prevented": -0.1413,
                "rating": 7.2092,
                "minutes": 28.5,
                "total_pass": 36.9163,
                "accurate_pass": 23.359,
                "total_long_balls": 27.0613,
                "accurate_long_balls": 13.504,
                "touches": 51.7787,
                "clearances": 1.5182,
                "ball_recovery": 11.7461,
                "high_claims": 0.9855,
                "punches": 1.5182,
                "aerial_won": 0.5327,
                "sweeper_actions": 0.9855,
                "sweeper_accurate": 0.9855,
                "saves_inside_box": 5.3803,
                "possession_lost": 14.09,
                "duels_won": 0.5327,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 19.6301,
                "accurate_own_half_passes": 15.475
              },
              "params": {
                "market_value_eur": 1100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.448,
                "goals_prevented": -0.0218,
                "rating": 7.2092,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.448,
                "goals_prevented": -0.0218,
                "rating": 7.2092,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "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.448,
                "goals_prevented": -0.0218,
                "rating": 7.2092,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 74.0)",
              "stats": {
                "saves": 0.448,
                "goals_prevented": -0.0218,
                "rating": 7.2092,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3493,
                "fifa_rank": 2906.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Jon Aramburu": {
          "player_id": 1116388,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 176,
          "market_value": 13900000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7554,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 2.2462,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0319,
            "expected_assists": 0.0441,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.227,
            "bench_expected_minutes": 14.09,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0198,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 28,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 5,
                "duels_won": 12,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0215,
                "expected_assists": 0.0094,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 11,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0274,
                "expected_assists": 0.1303,
                "total_shots": 1,
                "total_pass": 57,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 7,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 13,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0179,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 30,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 10,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 57,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0055,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 30,
                "interceptions": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0243,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 6,
                "clearances": 5,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0445,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 2,
                "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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 87,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0261,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 6,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2085,
            "combined_rank_score": 793.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 16.0,
            "sofascore_rating": 8.2667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1571.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7554,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Aramburu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                },
                {
                  "player_name": "Renato Veiga",
                  "ranking": 2081
                },
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                }
              ],
              "lower": [
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                },
                {
                  "player_name": "Santiago Mouriño",
                  "ranking": 2087
                },
                {
                  "player_name": "Mason Mount",
                  "ranking": 2088
                },
                {
                  "player_name": "Thomas Partey",
                  "ranking": 2089
                },
                {
                  "player_name": "Sukhrob Izzatov",
                  "ranking": 2090
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.786,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.786,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.085629977298677,
            "bench_appearance_prob": 0.227,
            "market_value_adjustment": 1.002,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.24
            },
            "rationale": "Bench projection scaled from XGBoost D_service (42 historical appearances) to 14.1 expected mins (appearance prob 0.23); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.5538,
                "tackles": 0.9472,
                "tackles_won": 0.5375,
                "clearances": 0.9711,
                "aerial_won": 0.4967,
                "total_shots": 0.2011,
                "rating": 6.7554,
                "minutes": 25.37,
                "total_pass": 18.1936,
                "accurate_pass": 15.7682,
                "duels_won": 2.6075,
                "total_long_balls": 1.5675,
                "accurate_long_balls": 0.4935,
                "total_own_half_passes": 6.4252,
                "accurate_own_half_passes": 5.6519,
                "total_opp_half_passes": 11.7684,
                "accurate_opp_half_passes": 10.1162,
                "crosses_total": 1.5782,
                "crosses_accurate": 0.7733,
                "touches": 29.2214,
                "possession_lost": 4.0376,
                "dispossessed": 0.0,
                "duels_lost": 1.6122,
                "aerial_lost": 0.1927,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2267,
                "challenges_lost": 0.3854,
                "fouls": 1.034,
                "fouls_drawn": 0.5335,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0573,
                "expected_assists": 0.0793,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9155,
                "total_progression": 7.1525,
                "progressive_carries": 0.0,
                "key_pass": 0.3138,
                "shots_off_target": 0.2011
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.3213,
                  "aerialWon": 1.8111,
                  "totalClearance_p90": 3.4125,
                  "totalTackle": 2.9917,
                  "totalPass": 37.1694
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5537602305412292,
                    "model_output": 0.5538,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.443
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0628
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0167
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0127
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0122
                        }
                      ],
                      "others": 0.0351,
                      "total": 0.5538,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.727314
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.141075
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.034383
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.025472
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.02387
                        }
                      ],
                      "others_margin": 0.06549
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.9471619129180908,
                    "model_output": 0.9472,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8096
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.057
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0519
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0436
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0345
                        }
                      ],
                      "others": 0.1759,
                      "total": 0.9472,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.869449
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.093041
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.077833
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.060946
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045773
                        }
                      ],
                      "others_margin": 0.205482
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5374802350997925,
                    "model_output": 0.5375,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.475
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0303
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0294
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0233
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0128
                        }
                      ],
                      "others": 0.0623,
                      "total": 0.5375,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.811769
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.076926
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.069216
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.051701
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.027275
                        }
                      ],
                      "others_margin": 0.123203
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9710538983345032,
                    "model_output": 0.9711,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.12
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1196
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0733
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0571
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0505
                        }
                      ],
                      "others": -0.1608,
                      "total": 0.9711,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.952545
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.094089
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.062361
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.051463
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.045596
                        }
                      ],
                      "others_margin": -0.153294
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4966939687728882,
                    "model_output": 0.4967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7902
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1142
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0447
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0379
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0219
                        }
                      ],
                      "others": -0.1048,
                      "total": 0.4967,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.848143
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.176483
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.065407
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.059004
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.035698
                        }
                      ],
                      "others_margin": -0.191566
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.20107077062129974,
                    "model_output": 0.2011,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2587
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0171
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0116
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0114
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0376,
                      "total": 0.2011,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.258698
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.017126
                        },
                        {
                          "name": "rating",
                          "margin": -0.011578
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.011359
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.009372
                        }
                      ],
                      "others_margin": -0.037643
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.755380630493164,
                    "model_output": 6.7554,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.0228
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0201
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0132
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0571,
                      "total": 6.7554,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": 0.022814
                        },
                        {
                          "name": "touches",
                          "margin": 0.020133
                        },
                        {
                          "name": "rating",
                          "margin": -0.014141
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.01316
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.011788
                        }
                      ],
                      "others_margin": -0.057187
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "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.0020, quality 0.567)",
              "stats": {
                "interceptions": 0.5549,
                "tackles": 0.9491,
                "tackles_won": 0.5386,
                "clearances": 0.973,
                "aerial_won": 0.4977,
                "total_shots": 0.2015,
                "rating": 6.7554,
                "minutes": 25.37,
                "total_pass": 18.23,
                "accurate_pass": 15.7997,
                "duels_won": 2.6127,
                "total_long_balls": 1.5706,
                "accurate_long_balls": 0.4945,
                "total_own_half_passes": 6.4381,
                "accurate_own_half_passes": 5.6632,
                "total_opp_half_passes": 11.7919,
                "accurate_opp_half_passes": 10.1364,
                "crosses_total": 1.5814,
                "crosses_accurate": 0.7748,
                "touches": 29.2798,
                "possession_lost": 4.0457,
                "dispossessed": 0.0,
                "duels_lost": 1.6154,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2312,
                "challenges_lost": 0.3862,
                "fouls": 1.0361,
                "fouls_drawn": 0.5346,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0574,
                "expected_assists": 0.0795,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9233,
                "total_progression": 7.1668,
                "progressive_carries": 0.0,
                "key_pass": 0.3144,
                "shots_off_target": 0.2015
              },
              "params": {
                "market_value_eur": 13900000,
                "quality_factor": 0.5671,
                "boost_factor": 1.002,
                "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.0166)",
              "stats": {
                "interceptions": 0.5613,
                "tackles": 0.9491,
                "tackles_won": 0.5401,
                "clearances": 0.973,
                "aerial_won": 0.4977,
                "total_shots": 0.202,
                "rating": 6.7554,
                "minutes": 25.37,
                "total_pass": 18.23,
                "accurate_pass": 15.7997,
                "duels_won": 2.6127,
                "total_long_balls": 1.5706,
                "accurate_long_balls": 0.4945,
                "total_own_half_passes": 6.4381,
                "accurate_own_half_passes": 5.6632,
                "total_opp_half_passes": 11.7919,
                "accurate_opp_half_passes": 10.1364,
                "crosses_total": 1.5643,
                "crosses_accurate": 0.7748,
                "touches": 29.2798,
                "possession_lost": 4.0457,
                "dispossessed": 0.0,
                "duels_lost": 1.6154,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2312,
                "challenges_lost": 0.3862,
                "fouls": 1.0423,
                "fouls_drawn": 0.5361,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0574,
                "expected_assists": 0.0795,
                "shots_on_target": 0.0013,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9233,
                "total_progression": 7.1668,
                "progressive_carries": 0.0,
                "key_pass": 0.3144,
                "shots_off_target": 0.2015
              },
              "params": {
                "blend_weight": 0.0166,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2819,
                "prior_reliability": 0.24,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5814,
                  "after": 1.5643
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5549,
                  "after": 0.5613
                },
                {
                  "stat": "fouls",
                  "before": 1.0361,
                  "after": 1.0423
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.4 to 14.1 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.3116,
                "tackles": 0.5269,
                "tackles_won": 0.2999,
                "clearances": 0.5402,
                "aerial_won": 0.2763,
                "total_shots": 0.1126,
                "rating": 6.7554,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1119,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09
              },
              "params": {
                "expected_minutes": 14.09,
                "projection_minutes": 25.37,
                "minutes_scale": 0.5552,
                "appearance_probability": 0.227
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3116,
                "tackles": 0.5269,
                "tackles_won": 0.2999,
                "clearances": 0.5402,
                "aerial_won": 0.2763,
                "total_shots": 0.1126,
                "rating": 6.7554,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1119,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09
              },
              "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.3116,
                "tackles": 0.5269,
                "tackles_won": 0.2999,
                "clearances": 0.5402,
                "aerial_won": 0.2763,
                "total_shots": 0.1126,
                "rating": 6.7554,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1119,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.227,
                "projected_substitutes": 3,
                "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 77.0)",
              "stats": {
                "interceptions": 0.3116,
                "tackles": 0.5269,
                "tackles_won": 0.2999,
                "clearances": 0.5402,
                "aerial_won": 0.2763,
                "total_shots": 0.1126,
                "rating": 6.7554,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1119,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2085,
                "fifa_rank": 1571.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Igor Zubeldia": {
          "player_id": 838159,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 180,
          "market_value": 6300000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7304,
            "minutes": 25,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 1.8805,
            "dispossessed": 0.3882,
            "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": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.316,
            "bench_expected_minutes": 24.88,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "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": 80.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 29,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "clearances": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 21,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0121,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 23,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0483,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 3,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 33,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 65,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "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": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 44,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0238,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 72,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1740,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 4.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7304,
            "source_file": "data/player_rankings.csv",
            "player_name": "Igor Zubeldia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nicko Sensoli",
                  "ranking": 1735
                },
                {
                  "player_name": "Giorgos Masouras",
                  "ranking": 1736
                },
                {
                  "player_name": "Ramiro González",
                  "ranking": 1737
                },
                {
                  "player_name": "Ho-yeong Seong",
                  "ranking": 1738
                },
                {
                  "player_name": "Bekzod Sulaymonov",
                  "ranking": 1739
                }
              ],
              "lower": [
                {
                  "player_name": "Muhriddin  Pazildinov",
                  "ranking": 1741
                },
                {
                  "player_name": "Vicente Vega",
                  "ranking": 1742
                },
                {
                  "player_name": "Enes Mahmutović",
                  "ranking": 1743
                },
                {
                  "player_name": "Ľubomír Šatka",
                  "ranking": 1744
                },
                {
                  "player_name": "Myeong-heui Choi",
                  "ranking": 1745
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.784,
          "history_matches": 30,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.784,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.88,
            "bench_appearance_prob": 0.316,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 34.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2267
            },
            "rationale": "Bench projection scaled from XGBoost D_service (30 historical appearances) to 24.9 expected mins (appearance prob 0.32); FBref playing time empirical prior: 1.0 sub appearances, 34.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3623,
                "tackles": 0.75,
                "tackles_won": 0.512,
                "clearances": 1.8489,
                "aerial_won": 0.5856,
                "total_shots": 0.0743,
                "rating": 6.7304,
                "minutes": 24.26,
                "total_pass": 9.7405,
                "accurate_pass": 8.2935,
                "duels_won": 1.447,
                "total_long_balls": 0.6696,
                "accurate_long_balls": 0.2809,
                "total_own_half_passes": 5.9611,
                "accurate_own_half_passes": 4.7949,
                "total_opp_half_passes": 3.7794,
                "accurate_opp_half_passes": 3.4985,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.8251,
                "possession_lost": 1.8358,
                "dispossessed": 0.3887,
                "duels_lost": 0.7775,
                "aerial_lost": 0.3887,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7775,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "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.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.5053,
                "total_progression": 5.0826,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0743
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0928,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0671,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Villarreal",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.0113,
                  "aerialWon": 1.3599,
                  "totalClearance_p90": 4.4057,
                  "totalTackle": 2.4196,
                  "totalPass": 44.7115
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.36232689023017883,
                    "model_output": 0.3623,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4952
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0235
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.008
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0066
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0192,
                      "total": 0.3623,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.861892
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062945
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.020613
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016906
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.014259
                        }
                      ],
                      "others_margin": -0.05171
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7499589323997498,
                    "model_output": 0.75,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7496
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0287
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0282
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0267
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0184
                        }
                      ],
                      "others": 0.0405,
                      "total": 0.75,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.771752
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.043583
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.041066
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.037439
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.025613
                        }
                      ],
                      "others_margin": 0.055451
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5120271444320679,
                    "model_output": 0.512,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4215
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0261
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0236
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.024
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0131
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.512,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.680026
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.058649
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.05009
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.048533
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.025448
                        }
                      ],
                      "others_margin": -0.014658
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8489161729812622,
                    "model_output": 1.8489,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1008
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1934
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0981
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0874
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0492
                        }
                      ],
                      "others": 0.0702,
                      "total": 1.8489,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.938255
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.133824
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061572
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.051846
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.028039
                        }
                      ],
                      "others_margin": 0.03879
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.585562527179718,
                    "model_output": 0.5856,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7971
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0402
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0305
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.03
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0216
                        }
                      ],
                      "others": -0.1216,
                      "total": 0.5856,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.859787
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.066462
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.047589
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.044692
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.031058
                        }
                      ],
                      "others_margin": -0.18875
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.07425997406244278,
                    "model_output": 0.0743,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2043
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0886
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0166
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0091
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.0702,
                      "total": 0.0743,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.204306
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08864
                        },
                        {
                          "name": "rating",
                          "margin": -0.016635
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.009144
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.008025
                        }
                      ],
                      "others_margin": -0.070122
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.73044490814209,
                    "model_output": 6.7304,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0268
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0171
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0159
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0148
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0127
                        }
                      ],
                      "others": 0.0008,
                      "total": 6.7304,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.026757
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.017148
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.015876
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.014801
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01268
                        }
                      ],
                      "others_margin": 0.000824
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "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.9988, quality 0.478)",
              "stats": {
                "interceptions": 0.3619,
                "tackles": 0.7491,
                "tackles_won": 0.5114,
                "clearances": 1.8467,
                "aerial_won": 0.5849,
                "total_shots": 0.0742,
                "rating": 6.7304,
                "minutes": 24.26,
                "total_pass": 9.7288,
                "accurate_pass": 8.2835,
                "duels_won": 1.4453,
                "total_long_balls": 0.6688,
                "accurate_long_balls": 0.2806,
                "total_own_half_passes": 5.9539,
                "accurate_own_half_passes": 4.7891,
                "total_opp_half_passes": 3.7749,
                "accurate_opp_half_passes": 3.4943,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.8049,
                "possession_lost": 1.8336,
                "dispossessed": 0.3882,
                "duels_lost": 0.7766,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7766,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "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.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.5023,
                "total_progression": 5.0765,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0742
              },
              "params": {
                "market_value_eur": 6300000,
                "quality_factor": 0.4781,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0211)",
              "stats": {
                "interceptions": 0.3626,
                "tackles": 0.7491,
                "tackles_won": 0.5073,
                "clearances": 1.8467,
                "aerial_won": 0.5849,
                "total_shots": 0.0726,
                "rating": 6.7304,
                "minutes": 24.26,
                "total_pass": 9.7288,
                "accurate_pass": 8.2835,
                "duels_won": 1.4453,
                "total_long_balls": 0.6688,
                "accurate_long_balls": 0.2806,
                "total_own_half_passes": 5.9539,
                "accurate_own_half_passes": 4.7891,
                "total_opp_half_passes": 3.7749,
                "accurate_opp_half_passes": 3.4943,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.8049,
                "possession_lost": 1.8336,
                "dispossessed": 0.3882,
                "duels_lost": 0.7766,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7766,
                "challenges_lost": 0.0,
                "fouls": 0.005,
                "fouls_drawn": 0.0017,
                "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.5023,
                "total_progression": 5.0765,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0742
              },
              "params": {
                "blend_weight": 0.0211,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2696,
                "prior_reliability": 0.2267,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.005
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.3 to 24.9 expected minutes (appearance prob 0.32)",
              "stats": {
                "interceptions": 0.3719,
                "tackles": 0.7682,
                "tackles_won": 0.5203,
                "clearances": 1.8939,
                "aerial_won": 0.5998,
                "total_shots": 0.0761,
                "rating": 6.7304,
                "minutes": 24.88,
                "total_pass": 9.9774,
                "accurate_pass": 8.4952,
                "duels_won": 1.4822,
                "total_long_balls": 0.6859,
                "accurate_long_balls": 0.2878,
                "total_own_half_passes": 6.1061,
                "accurate_own_half_passes": 4.9115,
                "total_opp_half_passes": 3.8714,
                "accurate_opp_half_passes": 3.5836,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.2344,
                "possession_lost": 1.8805,
                "dispossessed": 0.3882,
                "duels_lost": 0.7964,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7964,
                "challenges_lost": 0.0,
                "fouls": 0.0051,
                "fouls_drawn": 0.0017,
                "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.5662,
                "total_progression": 5.2062,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0761,
                "bench_appearance_probability": 0.316,
                "bench_expected_minutes": 24.88
              },
              "params": {
                "expected_minutes": 24.88,
                "projection_minutes": 24.26,
                "minutes_scale": 1.0256,
                "appearance_probability": 0.316
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3719,
                "tackles": 0.7682,
                "tackles_won": 0.5203,
                "clearances": 1.8939,
                "aerial_won": 0.5998,
                "total_shots": 0.0761,
                "rating": 6.7304,
                "minutes": 24.88,
                "total_pass": 9.9774,
                "accurate_pass": 8.4952,
                "duels_won": 1.4822,
                "total_long_balls": 0.6859,
                "accurate_long_balls": 0.2878,
                "total_own_half_passes": 6.1061,
                "accurate_own_half_passes": 4.9115,
                "total_opp_half_passes": 3.8714,
                "accurate_opp_half_passes": 3.5836,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.2344,
                "possession_lost": 1.8805,
                "dispossessed": 0.3882,
                "duels_lost": 0.7964,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7964,
                "challenges_lost": 0.0,
                "fouls": 0.0051,
                "fouls_drawn": 0.0017,
                "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.5662,
                "total_progression": 5.2062,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0761,
                "bench_appearance_probability": 0.316,
                "bench_expected_minutes": 24.88
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.3719,
                "tackles": 0.7682,
                "tackles_won": 0.5203,
                "clearances": 1.8939,
                "aerial_won": 0.5998,
                "total_shots": 0.0761,
                "rating": 6.7304,
                "minutes": 24.88,
                "total_pass": 9.9774,
                "accurate_pass": 8.4952,
                "duels_won": 1.4822,
                "total_long_balls": 0.6859,
                "accurate_long_balls": 0.2878,
                "total_own_half_passes": 6.1061,
                "accurate_own_half_passes": 4.9115,
                "total_opp_half_passes": 3.8714,
                "accurate_opp_half_passes": 3.5836,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.2344,
                "possession_lost": 1.8805,
                "dispossessed": 0.3882,
                "duels_lost": 0.7964,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7964,
                "challenges_lost": 0.0,
                "fouls": 0.0051,
                "fouls_drawn": 0.0017,
                "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.5662,
                "total_progression": 5.2062,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0761,
                "bench_appearance_probability": 0.316,
                "bench_expected_minutes": 24.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.316,
                "projected_substitutes": 3,
                "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 80.0)",
              "stats": {
                "interceptions": 0.3719,
                "tackles": 0.7682,
                "tackles_won": 0.5203,
                "clearances": 1.8939,
                "aerial_won": 0.5998,
                "total_shots": 0.0761,
                "rating": 6.7304,
                "minutes": 24.88,
                "total_pass": 9.9774,
                "accurate_pass": 8.4952,
                "duels_won": 1.4822,
                "total_long_balls": 0.6859,
                "accurate_long_balls": 0.2878,
                "total_own_half_passes": 6.1061,
                "accurate_own_half_passes": 4.9115,
                "total_opp_half_passes": 3.8714,
                "accurate_opp_half_passes": 3.5836,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.2344,
                "possession_lost": 1.8805,
                "dispossessed": 0.3882,
                "duels_lost": 0.7964,
                "aerial_lost": 0.3882,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7964,
                "challenges_lost": 0.0,
                "fouls": 0.0051,
                "fouls_drawn": 0.0017,
                "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.5662,
                "total_progression": 5.2062,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0761,
                "bench_appearance_probability": 0.316,
                "bench_expected_minutes": 24.88,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 80.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1740,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Jon Gorrotxategi": {
          "player_id": 1216309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 177,
          "market_value": 27000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0233,
            "assist_rate": 0.027,
            "assists": 0,
            "expected_goals": 0.0116,
            "goal_rate": 0.0233,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7433,
            "minutes": 19,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.5231,
            "dispossessed": 0.2283,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.713,
            "bench_expected_minutes": 19.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0115,
            "projected_assists": 0,
            "assist_probability": 0.0229,
            "finishing_factor": 1.1691,
            "creation_factor": 1.0922,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0408,
                "total_shots": 0,
                "total_pass": 73,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 4,
                "clearances": 2,
                "aerial_won": 2,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 20,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0502,
                "expected_assists": 0.0841,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 80,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0377,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 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": 1369,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7433,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Gorrotxategi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                },
                {
                  "player_name": "Ui-jun Jin",
                  "ranking": 1367
                },
                {
                  "player_name": "Diego Villares",
                  "ranking": 1368
                }
              ],
              "lower": [
                {
                  "player_name": "Vitão",
                  "ranking": 1370
                },
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.14,
            "bench_appearance_prob": 0.713,
            "market_value_adjustment": 1.0071,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 16.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 19.1 expected mins (appearance prob 0.71); FBref playing time empirical prior: 2.0 sub appearances, 16.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.246,
                "expected_assists": 0.021,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.013,
                "goals": 0.0239,
                "goal_rate": 0.0239,
                "shots_on_target": 0.0644,
                "total_shots": 0.2157,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.1329,
                "accurate_pass": 8.9989,
                "duels_won": 0.9989,
                "total_long_balls": 0.7587,
                "accurate_long_balls": 0.3182,
                "total_own_half_passes": 3.5181,
                "accurate_own_half_passes": 3.3691,
                "total_opp_half_passes": 6.6148,
                "accurate_opp_half_passes": 5.6298,
                "crosses_total": 0.253,
                "crosses_accurate": 0.0,
                "touches": 14.3764,
                "possession_lost": 2.5943,
                "dispossessed": 0.2267,
                "duels_lost": 0.7019,
                "aerial_won": 0.2928,
                "aerial_lost": 0.0,
                "interceptions": 0.1576,
                "tackles_won": 0.1439,
                "tackles": 0.21,
                "clearances": 0.7737,
                "total_contest": 0.3268,
                "won_contest": 0.2607,
                "challenges_lost": 0.2353,
                "fouls": 0.1737,
                "fouls_drawn": 0.2353,
                "blocks": 0.1266,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.291,
                "total_progression": 12.182,
                "progressive_carries": 0.098,
                "shots_off_target": 0.1513
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1593,
                  "creative_index": 0.1362,
                  "expectedGoals": 0.0077,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2459585964679718,
                    "model_output": 0.246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.425
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.052
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0363
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0194
                        }
                      ],
                      "others": -0.0625,
                      "total": 0.246,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.653085
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.119727
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.116448
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105036
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.061088
                        }
                      ],
                      "others_margin": -0.226392
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021039515733718872,
                    "model_output": 0.021,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0346
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0117
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.002
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.021,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.515787
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.258835
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.165007
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.060987
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.059932
                        }
                      ],
                      "others_margin": -0.344759
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02779226377606392,
                    "model_output": 0.0278,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.008
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0064
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0028
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.0278,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.326601
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.139938
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.128435
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.062275
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.059785
                        }
                      ],
                      "others_margin": -0.403559
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.013018133118748665,
                    "model_output": 0.013,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0021
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.013,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552492
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.421842
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.382918
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.088581
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.080193
                        }
                      ],
                      "others_margin": -0.45547
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.023894960060715675,
                    "model_output": 0.0239,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0327
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0037
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.407588
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.288335
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.231856
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.101697
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.090996
                        }
                      ],
                      "others_margin": -0.287201
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06435517966747284,
                    "model_output": 0.0644,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.127
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0656
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0293
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0073
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.0644,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.497367
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.404645
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.251966
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.073963
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042596
                        }
                      ],
                      "others_margin": -0.345761
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.21562787890434265,
                    "model_output": 0.2156,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3056
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2478
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0278
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.027
                        }
                      ],
                      "others": -0.1305,
                      "total": 0.2156,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.305568
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.247814
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036193
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.027819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026961
                        }
                      ],
                      "others_margin": -0.130482
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.743308067321777,
                    "model_output": 6.7433,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0976
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0274
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0216
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0111
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0191,
                      "total": 6.7433,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.09761
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.027445
                        },
                        {
                          "name": "rating",
                          "margin": -0.02164
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011147
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.005844
                        }
                      ],
                      "others_margin": -0.019058
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "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.0071, quality 0.694)",
              "stats": {
                "key_pass": 0.2477,
                "expected_assists": 0.0212,
                "assists": 0.028,
                "assist_rate": 0.028,
                "expected_goals": 0.0131,
                "goals": 0.0241,
                "goal_rate": 0.0241,
                "shots_on_target": 0.0648,
                "total_shots": 0.2172,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2548,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1587,
                "tackles_won": 0.1449,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1749,
                "fouls_drawn": 0.237,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1524
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0071,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0016)",
              "stats": {
                "key_pass": 0.2477,
                "expected_assists": 0.0212,
                "assists": 0.028,
                "assist_rate": 0.028,
                "expected_goals": 0.0131,
                "goals": 0.0241,
                "goal_rate": 0.0241,
                "shots_on_target": 0.0647,
                "total_shots": 0.2168,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2544,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1584,
                "tackles_won": 0.1447,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1746,
                "fouls_drawn": 0.2366,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1524
              },
              "params": {
                "blend_weight": 0.0016,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2202,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.8 to 19.1 expected minutes (appearance prob 0.71)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assists": 0.027,
                "assist_rate": 0.027,
                "expected_goals": 0.0127,
                "goals": 0.0233,
                "goal_rate": 0.0233,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "expected_minutes": 19.14,
                "projection_minutes": 19.82,
                "minutes_scale": 0.9657,
                "appearance_probability": 0.713
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assists": 0.027,
                "assist_rate": 0.027,
                "expected_goals": 0.0127,
                "goals": 0.0233,
                "goal_rate": 0.0233,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0127,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.1691,
                "creation_factor": 1.0922
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.713
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1369,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0115,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0115,
                "goal_rate": 0.0233,
                "scorer_weight": 0.0136,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0064,
                "finishing_factor": 1.1691,
                "appearance_weight": 0.713,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0115,
                "projected_assists": 0,
                "assist_probability": 0.0229,
                "finishing_factor": 1.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0229,
                "assist_rate": 0.027,
                "provider_weight": 0.0254,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0194,
                "creation_factor": 1.0922,
                "appearance_weight": 0.713,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Luka Sučić": {
          "player_id": 949156,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 185,
          "market_value": 16300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0552,
            "assist_rate": 0.0699,
            "assists": 0,
            "expected_goals": 0.0588,
            "goal_rate": 0.1252,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8875,
            "minutes": 27,
            "total_pass": 18,
            "accurate_pass": 15,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 22,
            "possession_lost": 4.3608,
            "dispossessed": 0.1938,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0838,
            "ball_carries": 11,
            "total_progression": 35,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.416,
            "bench_expected_minutes": 26.67,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "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_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2925,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 87,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1746,
                "expected_assists": 0.2711,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 36,
                "accurate_pass": 34,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0924,
                "expected_assists": 0.2147,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 40,
                "interceptions": 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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2155,
                "expected_assists": 0.0665,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0456,
                "expected_assists": 0.0381,
                "total_shots": 2,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 78,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.1689,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 55,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 87,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.25,
                "expected_assists": 0.0084,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 29,
                "key_pass": 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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4355,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 35,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "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": "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": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3134,
            "combined_rank_score": 1102.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1975.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8875,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luka Sučić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                }
              ],
              "lower": [
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                },
                {
                  "player_name": "Carlos Vicente",
                  "ranking": 3136
                },
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                },
                {
                  "player_name": "Kasper Dolberg",
                  "ranking": 3139
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.781,
          "history_matches": 29,
          "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": 29,
            "data_confidence": 0.781,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.67,
            "bench_appearance_prob": 0.416,
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 30.0,
              "goals_per90": 0.3225806451612903,
              "assists_per90": 0.0,
              "prior_reliability": 0.2067
            },
            "rationale": "Bench projection scaled from XGBoost M_service (29 historical appearances) to 26.7 expected mins (appearance prob 0.42); FBref playing time empirical prior: 1.0 sub appearances, 30.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6381,
                "expected_assists": 0.056,
                "assists": 0.0723,
                "assist_rate": 0.0723,
                "expected_goals": 0.0595,
                "goals": 0.1275,
                "goal_rate": 0.1275,
                "shots_on_target": 0.2483,
                "total_shots": 0.8953,
                "rating": 6.8875,
                "minutes": 27.14,
                "total_pass": 17.8942,
                "accurate_pass": 14.7639,
                "duels_won": 1.0454,
                "total_long_balls": 1.9608,
                "accurate_long_balls": 1.484,
                "total_own_half_passes": 5.2199,
                "accurate_own_half_passes": 4.6683,
                "total_opp_half_passes": 12.6743,
                "accurate_opp_half_passes": 10.0956,
                "crosses_total": 0.4744,
                "crosses_accurate": 0.1706,
                "touches": 22.3925,
                "possession_lost": 4.4205,
                "dispossessed": 0.193,
                "duels_lost": 1.36,
                "aerial_won": 0.418,
                "aerial_lost": 0.2716,
                "interceptions": 0.1514,
                "tackles_won": 0.1133,
                "tackles": 0.2024,
                "clearances": 0.3036,
                "total_contest": 0.6405,
                "won_contest": 0.3493,
                "challenges_lost": 0.2397,
                "fouls": 0.3645,
                "fouls_drawn": 0.0757,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.085,
                "ball_carries": 11.078,
                "total_progression": 35.9496,
                "progressive_carries": 0.4588,
                "shots_off_target": 0.647
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1514,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1094,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.093,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0571,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.8736,
                  "creative_index": 0.4603,
                  "expectedGoals": 0.1253,
                  "expectedAssists": 0.1033,
                  "onTargetScoringAttempt": 0.7263
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6380775570869446,
                    "model_output": 0.6381,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3921
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.045
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0355
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0323
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0206
                        }
                      ],
                      "others": 0.0518,
                      "total": 0.6381,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.584115
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.087181
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.063723
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.054706
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.034458
                        }
                      ],
                      "others_margin": 0.084484
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05596427991986275,
                    "model_output": 0.056,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0048
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0029
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0027
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0023
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.056,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.58472
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.106394
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.064738
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.057991
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.045632
                        }
                      ],
                      "others_margin": 0.095759
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07225515693426132,
                    "model_output": 0.0723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0215
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0048
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0046
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0036
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0723,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.290104
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.072221
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.065444
                        },
                        {
                          "name": "goals",
                          "margin": 0.048512
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.045003
                        }
                      ],
                      "others_margin": -0.016216
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.059535231441259384,
                    "model_output": 0.0595,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0486
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0093
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0104
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0057
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0039
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.0595,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.721879
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.185129
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.172318
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.08386
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053343
                        }
                      ],
                      "others_margin": -0.23404
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12745913863182068,
                    "model_output": 0.1275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.042
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0186
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0119
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0104
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0195,
                      "total": 0.1275,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561957
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.288152
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.148663
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.113601
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.112745
                        }
                      ],
                      "others_margin": 0.16525
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24834184348583221,
                    "model_output": 0.2483,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1664
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.047
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0142
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0136
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.2483,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.720947
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.261201
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.103357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060518
                        },
                        {
                          "name": "goals",
                          "margin": 0.054784
                        }
                      ],
                      "others_margin": -0.024823
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8953433036804199,
                    "model_output": 0.8953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5822
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3507
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1201
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0501
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0338
                        }
                      ],
                      "others": -0.0677,
                      "total": 0.8953,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.582191
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.350676
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.120059
                        },
                        {
                          "name": "goals",
                          "margin": 0.05012
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03382
                        }
                      ],
                      "others_margin": -0.067606
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.887519836425781,
                    "model_output": 6.8875,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0982
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.086
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0329
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0186
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0083,
                      "total": 6.8875,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.098246
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.086031
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.03287
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.01861
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.016799
                        }
                      ],
                      "others_margin": -0.008247
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 29,
                  "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 1.0039, quality 0.593)",
              "stats": {
                "key_pass": 0.6406,
                "expected_assists": 0.0562,
                "assists": 0.0725,
                "assist_rate": 0.0725,
                "expected_goals": 0.0598,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.2493,
                "total_shots": 0.8988,
                "rating": 6.8875,
                "minutes": 27.14,
                "total_pass": 17.964,
                "accurate_pass": 14.8215,
                "duels_won": 1.0495,
                "total_long_balls": 1.9684,
                "accurate_long_balls": 1.4898,
                "total_own_half_passes": 5.2403,
                "accurate_own_half_passes": 4.6865,
                "total_opp_half_passes": 12.7237,
                "accurate_opp_half_passes": 10.135,
                "crosses_total": 0.4763,
                "crosses_accurate": 0.1713,
                "touches": 22.4798,
                "possession_lost": 4.4377,
                "dispossessed": 0.1938,
                "duels_lost": 1.3653,
                "aerial_won": 0.4196,
                "aerial_lost": 0.2727,
                "interceptions": 0.152,
                "tackles_won": 0.1137,
                "tackles": 0.2032,
                "clearances": 0.3048,
                "total_contest": 0.643,
                "won_contest": 0.3507,
                "challenges_lost": 0.2406,
                "fouls": 0.3659,
                "fouls_drawn": 0.076,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0853,
                "ball_carries": 11.1212,
                "total_progression": 36.0898,
                "progressive_carries": 0.4606,
                "shots_off_target": 0.6495
              },
              "params": {
                "market_value_eur": 16300000,
                "quality_factor": 0.5932,
                "boost_factor": 1.0039,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0198)",
              "stats": {
                "key_pass": 0.6406,
                "expected_assists": 0.0562,
                "assists": 0.0711,
                "assist_rate": 0.0711,
                "expected_goals": 0.0598,
                "goals": 0.1274,
                "goal_rate": 0.1274,
                "shots_on_target": 0.2482,
                "total_shots": 0.8943,
                "rating": 6.8875,
                "minutes": 27.14,
                "total_pass": 17.964,
                "accurate_pass": 14.8215,
                "duels_won": 1.0495,
                "total_long_balls": 1.9684,
                "accurate_long_balls": 1.4898,
                "total_own_half_passes": 5.2403,
                "accurate_own_half_passes": 4.6865,
                "total_opp_half_passes": 12.7237,
                "accurate_opp_half_passes": 10.135,
                "crosses_total": 0.4784,
                "crosses_accurate": 0.1713,
                "touches": 22.4798,
                "possession_lost": 4.4377,
                "dispossessed": 0.1938,
                "duels_lost": 1.3653,
                "aerial_won": 0.4196,
                "aerial_lost": 0.2727,
                "interceptions": 0.149,
                "tackles_won": 0.1153,
                "tackles": 0.2032,
                "clearances": 0.3048,
                "total_contest": 0.643,
                "won_contest": 0.3507,
                "challenges_lost": 0.2406,
                "fouls": 0.3644,
                "fouls_drawn": 0.0764,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0853,
                "ball_carries": 11.1212,
                "total_progression": 36.0898,
                "progressive_carries": 0.4606,
                "shots_off_target": 0.6495
              },
              "params": {
                "blend_weight": 0.0198,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3016,
                "prior_reliability": 0.2067,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.1 to 26.7 expected minutes (appearance prob 0.42)",
              "stats": {
                "key_pass": 0.6295,
                "expected_assists": 0.0552,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0588,
                "goals": 0.1252,
                "goal_rate": 0.1252,
                "shots_on_target": 0.2439,
                "total_shots": 0.8822,
                "rating": 6.8875,
                "minutes": 26.67,
                "total_pass": 17.6529,
                "accurate_pass": 14.5648,
                "duels_won": 1.0313,
                "total_long_balls": 1.9343,
                "accurate_long_balls": 1.464,
                "total_own_half_passes": 5.1496,
                "accurate_own_half_passes": 4.6053,
                "total_opp_half_passes": 12.5034,
                "accurate_opp_half_passes": 9.9595,
                "crosses_total": 0.4701,
                "crosses_accurate": 0.1683,
                "touches": 22.0905,
                "possession_lost": 4.3608,
                "dispossessed": 0.1938,
                "duels_lost": 1.3417,
                "aerial_won": 0.4123,
                "aerial_lost": 0.2727,
                "interceptions": 0.1464,
                "tackles_won": 0.1133,
                "tackles": 0.1997,
                "clearances": 0.2995,
                "total_contest": 0.6319,
                "won_contest": 0.3446,
                "challenges_lost": 0.2406,
                "fouls": 0.3581,
                "fouls_drawn": 0.0751,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0838,
                "ball_carries": 10.9286,
                "total_progression": 35.4648,
                "progressive_carries": 0.4526,
                "shots_off_target": 0.6383,
                "bench_appearance_probability": 0.416,
                "bench_expected_minutes": 26.67
              },
              "params": {
                "expected_minutes": 26.67,
                "projection_minutes": 27.14,
                "minutes_scale": 0.9827,
                "appearance_probability": 0.416
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6295,
                "expected_assists": 0.0552,
                "assists": 0.0699,
                "assist_rate": 0.0699,
                "expected_goals": 0.0588,
                "goals": 0.1252,
                "goal_rate": 0.1252,
                "shots_on_target": 0.2439,
                "total_shots": 0.8822,
                "rating": 6.8875,
                "minutes": 26.67,
                "total_pass": 17.6529,
                "accurate_pass": 14.5648,
                "duels_won": 1.0313,
                "total_long_balls": 1.9343,
                "accurate_long_balls": 1.464,
                "total_own_half_passes": 5.1496,
                "accurate_own_half_passes": 4.6053,
                "total_opp_half_passes": 12.5034,
                "accurate_opp_half_passes": 9.9595,
                "crosses_total": 0.4701,
                "crosses_accurate": 0.1683,
                "touches": 22.0905,
                "possession_lost": 4.3608,
                "dispossessed": 0.1938,
                "duels_lost": 1.3417,
                "aerial_won": 0.4123,
                "aerial_lost": 0.2727,
                "interceptions": 0.1464,
                "tackles_won": 0.1133,
                "tackles": 0.1997,
                "clearances": 0.2995,
                "total_contest": 0.6319,
                "won_contest": 0.3446,
                "challenges_lost": 0.2406,
                "fouls": 0.3581,
                "fouls_drawn": 0.0751,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0838,
                "ball_carries": 10.9286,
                "total_progression": 35.4648,
                "progressive_carries": 0.4526,
                "shots_off_target": 0.6383,
                "bench_appearance_probability": 0.416,
                "bench_expected_minutes": 26.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": {
                "key_pass": 0.6295,
                "expected_assists": 0.0552,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0588,
                "goal_rate": 0.1252,
                "goals": 0,
                "shots_on_target": 0.2439,
                "total_shots": 0.8822,
                "rating": 6.8875,
                "minutes": 26.67,
                "total_pass": 17.6529,
                "accurate_pass": 14.5648,
                "duels_won": 1.0313,
                "total_long_balls": 1.9343,
                "accurate_long_balls": 1.464,
                "total_own_half_passes": 5.1496,
                "accurate_own_half_passes": 4.6053,
                "total_opp_half_passes": 12.5034,
                "accurate_opp_half_passes": 9.9595,
                "crosses_total": 0.4701,
                "crosses_accurate": 0.1683,
                "touches": 22.0905,
                "possession_lost": 4.3608,
                "dispossessed": 0.1938,
                "duels_lost": 1.3417,
                "aerial_won": 0.4123,
                "aerial_lost": 0.2727,
                "interceptions": 0.1464,
                "tackles_won": 0.1133,
                "tackles": 0.1997,
                "clearances": 0.2995,
                "total_contest": 0.6319,
                "won_contest": 0.3446,
                "challenges_lost": 0.2406,
                "fouls": 0.3581,
                "fouls_drawn": 0.0751,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0838,
                "ball_carries": 10.9286,
                "total_progression": 35.4648,
                "progressive_carries": 0.4526,
                "shots_off_target": 0.6383,
                "bench_appearance_probability": 0.416,
                "bench_expected_minutes": 26.67,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.416,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.6295,
                "expected_assists": 0.0552,
                "assist_rate": 0.0699,
                "assists": 0,
                "expected_goals": 0.0588,
                "goal_rate": 0.1252,
                "goals": 0,
                "shots_on_target": 0.2439,
                "total_shots": 0.8822,
                "rating": 6.8875,
                "minutes": 26.67,
                "total_pass": 17.6529,
                "accurate_pass": 14.5648,
                "duels_won": 1.0313,
                "total_long_balls": 1.9343,
                "accurate_long_balls": 1.464,
                "total_own_half_passes": 5.1496,
                "accurate_own_half_passes": 4.6053,
                "total_opp_half_passes": 12.5034,
                "accurate_opp_half_passes": 9.9595,
                "crosses_total": 0.4701,
                "crosses_accurate": 0.1683,
                "touches": 22.0905,
                "possession_lost": 4.3608,
                "dispossessed": 0.1938,
                "duels_lost": 1.3417,
                "aerial_won": 0.4123,
                "aerial_lost": 0.2727,
                "interceptions": 0.1464,
                "tackles_won": 0.1133,
                "tackles": 0.1997,
                "clearances": 0.2995,
                "total_contest": 0.6319,
                "won_contest": 0.3446,
                "challenges_lost": 0.2406,
                "fouls": 0.3581,
                "fouls_drawn": 0.0751,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0838,
                "ball_carries": 10.9286,
                "total_progression": 35.4648,
                "progressive_carries": 0.4526,
                "shots_off_target": 0.6383,
                "bench_appearance_probability": 0.416,
                "bench_expected_minutes": 26.67,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3134,
                "fifa_rank": 1975.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Gonçalo Guedes": {
          "player_id": 280979,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 179,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.056,
            "goal_rate": 0.065,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0818,
            "key_pass": 1,
            "rating": 6.7537,
            "minutes": 21,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.4637,
            "dispossessed": 0.3904,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0518,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1135,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 23,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.722,
            "bench_expected_minutes": 20.79,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0539,
            "projected_assists": 0,
            "assist_probability": 0.0773,
            "finishing_factor": 1.0379,
            "creation_factor": 0.8413,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 29,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2936,
                "expected_assists": 0.0831,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 56,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1542,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 15,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1485,
                "expected_assists": 0.0956,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0284,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0199,
                "expected_assists": 0.05,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0406,
                "expected_assists": 0.035,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3407,
                "expected_assists": 0.0364,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0501,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0081,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1098,
                "expected_assists": 0.2497,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 961,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 32.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7537,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gonçalo Guedes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Eduardo Camavinga",
                  "ranking": 956
                },
                {
                  "player_name": "Giuliano Simeone",
                  "ranking": 957
                },
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                }
              ],
              "lower": [
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                },
                {
                  "player_name": "Dani Ceballos",
                  "ranking": 963
                },
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 20.79,
            "bench_appearance_prob": 0.722,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 17.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (38 historical appearances) to 20.8 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 17.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0685,
                "goal_rate": 0.0685,
                "shots_on_target": 0.2903,
                "total_shots": 0.8444,
                "expected_assists": 0.0747,
                "key_pass": 0.6262,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3747,
                "accurate_pass": 6.5106,
                "duels_won": 1.5521,
                "total_long_balls": 0.3316,
                "accurate_long_balls": 0.2672,
                "total_opp_half_passes": 6.9341,
                "accurate_opp_half_passes": 5.2137,
                "crosses_total": 1.5313,
                "crosses_accurate": 0.3704,
                "touches": 15.2563,
                "possession_lost": 4.6926,
                "dispossessed": 0.3909,
                "duels_lost": 1.2864,
                "aerial_lost": 0.2696,
                "total_contest": 1.0781,
                "won_contest": 0.5869,
                "ball_recovery": 1.5491,
                "challenges_lost": 0.0465,
                "fouls": 0.1526,
                "fouls_drawn": 0.199,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "interceptions": 0.0891,
                "tackles_won": 0.2498,
                "tackles": 0.4488,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2104,
                "xgot": 0.1295,
                "offsides": 0.0462,
                "ball_carries": 5.4739,
                "total_progression": 24.3625,
                "progressive_carries": 1.1346,
                "shots_off_target": 0.5541
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Levante UD",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.11,
                  "totalOppositionHalfPasses": 14.2672,
                  "accurateOppositionHalfPasses": 11.3348,
                  "accuratePass": 15.2397,
                  "totalShots": 1.8128
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06382957100868225,
                    "model_output": 0.0638,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0041
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0638,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567062
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.156108
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.079078
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.047229
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.039338
                        }
                      ],
                      "others_margin": -0.248045
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06845622509717941,
                    "model_output": 0.0685,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0916
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0067
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0685,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597336
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.156254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.107209
                        },
                        {
                          "name": "goals",
                          "margin": -0.081416
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.064912
                        }
                      ],
                      "others_margin": -0.083571
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2903119623661041,
                    "model_output": 0.2903,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2126
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0278
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.019
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0147
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0225,
                      "total": 0.2903,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.503937
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.089751
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.062125
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047851
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.038635
                        }
                      ],
                      "others_margin": -0.074225
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8444035053253174,
                    "model_output": 0.8444,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5343
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0921
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0319
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0254
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0784,
                      "total": 0.8444,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.534298
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.092121
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.031852
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.025386
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.020244
                        }
                      ],
                      "others_margin": -0.078348
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07471262663602829,
                    "model_output": 0.0747,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0184
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.007
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0039
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0028
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.0747,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.33814
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.142264
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.105754
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.064588
                        },
                        {
                          "name": "rating",
                          "margin": 0.043532
                        }
                      ],
                      "others_margin": 0.13235
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6261855959892273,
                    "model_output": 0.6262,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.249
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0609
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0477
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0229
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.0949,
                      "total": 0.6262,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461193
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.133886
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.093624
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.043966
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.039533
                        }
                      ],
                      "others_margin": 0.164568
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7537102699279785,
                    "model_output": 6.7537,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0706
                        },
                        {
                          "name": "wasFouled",
                          "contribution": 0.0147
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0109
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0095
                        }
                      ],
                      "others": 0.0154,
                      "total": 6.7537,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.070595
                        },
                        {
                          "name": "wasFouled",
                          "margin": 0.014672
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011556
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010874
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.009489
                        }
                      ],
                      "others_margin": 0.015555
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 38,
                  "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.9988, quality 0.471)",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0684,
                "goal_rate": 0.0684,
                "shots_on_target": 0.29,
                "total_shots": 0.8434,
                "expected_assists": 0.0746,
                "key_pass": 0.6254,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3647,
                "accurate_pass": 6.5028,
                "duels_won": 1.5502,
                "total_long_balls": 0.3312,
                "accurate_long_balls": 0.2669,
                "total_opp_half_passes": 6.9258,
                "accurate_opp_half_passes": 5.2074,
                "crosses_total": 1.5295,
                "crosses_accurate": 0.37,
                "touches": 15.238,
                "possession_lost": 4.687,
                "dispossessed": 0.3904,
                "duels_lost": 1.2849,
                "aerial_lost": 0.2693,
                "total_contest": 1.0768,
                "won_contest": 0.5862,
                "ball_recovery": 1.5472,
                "challenges_lost": 0.0464,
                "fouls": 0.1524,
                "fouls_drawn": 0.1988,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "interceptions": 0.089,
                "tackles_won": 0.2495,
                "tackles": 0.4483,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2101,
                "xgot": 0.1293,
                "offsides": 0.0461,
                "ball_carries": 5.4673,
                "total_progression": 24.3333,
                "progressive_carries": 1.1332,
                "shots_off_target": 0.5534
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "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.0030)",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0682,
                "goal_rate": 0.0682,
                "shots_on_target": 0.2931,
                "total_shots": 0.8488,
                "expected_assists": 0.0746,
                "key_pass": 0.6254,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3647,
                "accurate_pass": 6.5028,
                "duels_won": 1.5502,
                "total_long_balls": 0.3312,
                "accurate_long_balls": 0.2669,
                "total_opp_half_passes": 6.9258,
                "accurate_opp_half_passes": 5.2074,
                "crosses_total": 1.5261,
                "crosses_accurate": 0.37,
                "touches": 15.238,
                "possession_lost": 4.687,
                "dispossessed": 0.3904,
                "duels_lost": 1.2849,
                "aerial_lost": 0.2693,
                "total_contest": 1.0768,
                "won_contest": 0.5862,
                "ball_recovery": 1.5472,
                "challenges_lost": 0.0464,
                "fouls": 0.1519,
                "fouls_drawn": 0.1994,
                "assists": 0.0544,
                "assist_rate": 0.0544,
                "interceptions": 0.0887,
                "tackles_won": 0.25,
                "tackles": 0.4483,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2101,
                "xgot": 0.1293,
                "offsides": 0.046,
                "ball_carries": 5.4673,
                "total_progression": 24.3333,
                "progressive_carries": 1.1332,
                "shots_off_target": 0.5534
              },
              "params": {
                "blend_weight": 0.003,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2426,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.8434,
                  "after": 0.8488
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.8 to 20.8 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0608,
                "goals": 0.065,
                "goal_rate": 0.065,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assists": 0.0518,
                "assist_rate": 0.0518,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79
              },
              "params": {
                "expected_minutes": 20.79,
                "projection_minutes": 21.83,
                "minutes_scale": 0.9524,
                "appearance_probability": 0.722
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0608,
                "goals": 0.065,
                "goal_rate": 0.065,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assists": 0.0518,
                "assist_rate": 0.0518,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0608,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.0379,
                "creation_factor": 0.8413
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.722
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.071,
                  "after": 0.0818
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 961,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0539,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0539,
                "goal_rate": 0.065,
                "scorer_weight": 0.0581,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0276,
                "finishing_factor": 1.0379,
                "appearance_weight": 0.722,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0539,
                "projected_assists": 0,
                "assist_probability": 0.0773,
                "finishing_factor": 1.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0773,
                "assist_rate": 0.0518,
                "provider_weight": 0.0688,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0526,
                "creation_factor": 0.8413,
                "appearance_weight": 0.722,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Job Ochieng": {
          "player_id": 1111081,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 185,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.08,
            "goal_rate": 0.0869,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0331,
            "key_pass": 0,
            "rating": 6.578,
            "minutes": 25,
            "total_pass": 16,
            "accurate_pass": 11,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 13.3277,
            "dispossessed": 1.56,
            "duels_lost": 6,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.7193,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0661,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 86,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.36,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0746,
            "projected_assists": 0,
            "assist_probability": 0.0321,
            "finishing_factor": 0.8477,
            "creation_factor": 1.25,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0528,
                "expected_assists": 0.0325,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2406,
                "expected_assists": 0.0895,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 17,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.189,
                "expected_assists": 0.079,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 10,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0832,
                "expected_assists": 0.0112,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1531,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083292,
              "match_date": "2026-02-07",
              "home_team": "Real Sociedad",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0428,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6248,
            "combined_rank_score": 4513.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 8154.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.578,
            "source_file": "data/player_rankings.csv",
            "player_name": "Job Ochieng",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kevin Zenón",
                  "ranking": 6243
                },
                {
                  "player_name": "Gonzalo Abrego",
                  "ranking": 6244
                },
                {
                  "player_name": "Facundo Sanguinetti",
                  "ranking": 6245
                },
                {
                  "player_name": "Matías Mansilla",
                  "ranking": 6246
                },
                {
                  "player_name": "Valentin Mihăilă",
                  "ranking": 6247
                }
              ],
              "lower": [
                {
                  "player_name": "Juan de Dios Pintado",
                  "ranking": 6249
                },
                {
                  "player_name": "Ivan Scarpeta",
                  "ranking": 6250
                },
                {
                  "player_name": "Matías Abaldo",
                  "ranking": 6251
                },
                {
                  "player_name": "Rodrigo Insua",
                  "ranking": 6252
                },
                {
                  "player_name": "Juan Ignacio Díaz",
                  "ranking": 6253
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.356033856478426,
            "bench_appearance_prob": 0.5616379025672013,
            "market_value_adjustment": 0.993,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0912,
                "goals": 0.071,
                "goal_rate": 0.071,
                "shots_on_target": 0.297,
                "total_shots": 0.9795,
                "expected_assists": 0.0302,
                "key_pass": 0.3451,
                "rating": 6.578,
                "minutes": 20.61,
                "total_pass": 12.9455,
                "accurate_pass": 8.6788,
                "duels_won": 2.4737,
                "total_long_balls": 0.1069,
                "accurate_long_balls": 0.1069,
                "total_opp_half_passes": 9.1226,
                "accurate_opp_half_passes": 6.0883,
                "crosses_total": 1.2997,
                "crosses_accurate": 0.174,
                "touches": 27.6864,
                "possession_lost": 10.9095,
                "dispossessed": 1.571,
                "duels_lost": 5.2567,
                "aerial_lost": 0.7932,
                "total_contest": 2.5323,
                "won_contest": 0.9378,
                "ball_recovery": 3.221,
                "challenges_lost": 0.4148,
                "fouls": 1.0878,
                "fouls_drawn": 0.174,
                "assists": 0.5888,
                "assist_rate": 0.5888,
                "interceptions": 0.1257,
                "tackles_won": 0.5405,
                "tackles": 1.0139,
                "clearances": 0.1257,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0754,
                "offsides": 0.3665,
                "ball_carries": 7.4417,
                "total_progression": 70.6797,
                "progressive_carries": 3.1955,
                "shots_off_target": 0.6825
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1224,
                  "totalOppositionHalfPasses": 9.1226,
                  "accurateOppositionHalfPasses": 6.0883,
                  "accuratePass": 8.6789,
                  "totalShots": 1.9329
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09121359884738922,
                    "model_output": 0.0912,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0747
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0168
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0159
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0101
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0057
                        }
                      ],
                      "others": -0.0164,
                      "total": 0.0912,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470837
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.14549
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.137875
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.085535
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052099
                        }
                      ],
                      "others_margin": -0.163787
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0710478276014328,
                    "model_output": 0.071,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0935
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0161
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0039
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.614202
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.157528
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.130394
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.048888
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.042079
                        }
                      ],
                      "others_margin": -0.144605
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2970443367958069,
                    "model_output": 0.297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2085
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0321
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0239
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0216
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.297,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.491613
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.09323
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.068533
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.066348
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051767
                        }
                      ],
                      "others_margin": -0.007047
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9795295000076294,
                    "model_output": 0.9795,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6319
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1622
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0898
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0764
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0469
                        }
                      ],
                      "others": -0.1426,
                      "total": 0.9795,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.631862
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.162208
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.089787
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.076385
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.046948
                        }
                      ],
                      "others_margin": -0.142644
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.030238095670938492,
                    "model_output": 0.0302,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0235
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0035
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0302,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.454872
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.089568
                        },
                        {
                          "name": "rating",
                          "margin": -0.058173
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.057827
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.049634
                        }
                      ],
                      "others_margin": -0.044125
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3451046347618103,
                    "model_output": 0.3451,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2865
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0301
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0237
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0131
                        }
                      ],
                      "others": 0.0099,
                      "total": 0.3451,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.553427
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.080881
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.068621
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.0427
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.038391
                        }
                      ],
                      "others_margin": 0.029272
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.577960968017578,
                    "model_output": 6.578,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0713
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0249
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0199
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0198
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0301,
                      "total": 6.578,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.071315
                        },
                        {
                          "name": "rating",
                          "margin": -0.024918
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.019922
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019801
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.018243
                        }
                      ],
                      "others_margin": -0.030002
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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.9930, quality 0.454)",
              "stats": {
                "expected_goals": 0.0906,
                "goals": 0.0706,
                "goal_rate": 0.0706,
                "shots_on_target": 0.295,
                "total_shots": 0.9727,
                "expected_assists": 0.03,
                "key_pass": 0.3427,
                "rating": 6.578,
                "minutes": 20.61,
                "total_pass": 12.8549,
                "accurate_pass": 8.618,
                "duels_won": 2.4564,
                "total_long_balls": 0.1062,
                "accurate_long_balls": 0.1062,
                "total_opp_half_passes": 9.0587,
                "accurate_opp_half_passes": 6.0457,
                "crosses_total": 1.2906,
                "crosses_accurate": 0.1728,
                "touches": 27.4926,
                "possession_lost": 10.8331,
                "dispossessed": 1.56,
                "duels_lost": 5.2199,
                "aerial_lost": 0.7876,
                "total_contest": 2.5146,
                "won_contest": 0.9312,
                "ball_recovery": 3.1985,
                "challenges_lost": 0.4119,
                "fouls": 1.0802,
                "fouls_drawn": 0.1728,
                "assists": 0.5847,
                "assist_rate": 0.5847,
                "interceptions": 0.1248,
                "tackles_won": 0.5367,
                "tackles": 1.0068,
                "clearances": 0.1248,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0749,
                "offsides": 0.3639,
                "ball_carries": 7.3896,
                "total_progression": 70.1849,
                "progressive_carries": 3.1731,
                "shots_off_target": 0.6777
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.993,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.6 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1115,
                "goals": 0.0869,
                "goal_rate": 0.0869,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assists": 0.7193,
                "assist_rate": 0.7193,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 20.61,
                "minutes_scale": 1.2303,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1115,
                "goals": 0.0869,
                "goal_rate": 0.0869,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assists": 0.7193,
                "assist_rate": 0.7193,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1115,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              },
              "changes": [
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.8477,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1115,
                  "after": 0.08
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6248,
                "fifa_rank": 8154.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0746,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0746,
                "goal_rate": 0.0869,
                "scorer_weight": 0.0678,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0322,
                "finishing_factor": 0.8477,
                "appearance_weight": 0.562,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0746,
                "projected_assists": 0,
                "assist_probability": 0.0321,
                "finishing_factor": 0.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0321,
                "assist_rate": 0.7193,
                "provider_weight": 0.0414,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0316,
                "creation_factor": 1.25,
                "appearance_weight": 0.562,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Gonçalo Guedes": {
          "player_id": 280979,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 179,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.056,
            "goal_rate": 0.065,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0818,
            "key_pass": 1,
            "rating": 6.7537,
            "minutes": 21,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.4637,
            "dispossessed": 0.3904,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0518,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1135,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 23,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.722,
            "bench_expected_minutes": 20.79,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0539,
            "projected_assists": 0,
            "assist_probability": 0.0773,
            "finishing_factor": 1.0379,
            "creation_factor": 0.8413,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 29,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2936,
                "expected_assists": 0.0831,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 56,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1542,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 15,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1485,
                "expected_assists": 0.0956,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0284,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0199,
                "expected_assists": 0.05,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0406,
                "expected_assists": 0.035,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "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": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3407,
                "expected_assists": 0.0364,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0501,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0081,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1098,
                "expected_assists": 0.2497,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 961,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 32.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7537,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gonçalo Guedes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Eduardo Camavinga",
                  "ranking": 956
                },
                {
                  "player_name": "Giuliano Simeone",
                  "ranking": 957
                },
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                }
              ],
              "lower": [
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                },
                {
                  "player_name": "Dani Ceballos",
                  "ranking": 963
                },
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 20.79,
            "bench_appearance_prob": 0.722,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 17.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (38 historical appearances) to 20.8 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 17.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0685,
                "goal_rate": 0.0685,
                "shots_on_target": 0.2903,
                "total_shots": 0.8444,
                "expected_assists": 0.0747,
                "key_pass": 0.6262,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3747,
                "accurate_pass": 6.5106,
                "duels_won": 1.5521,
                "total_long_balls": 0.3316,
                "accurate_long_balls": 0.2672,
                "total_opp_half_passes": 6.9341,
                "accurate_opp_half_passes": 5.2137,
                "crosses_total": 1.5313,
                "crosses_accurate": 0.3704,
                "touches": 15.2563,
                "possession_lost": 4.6926,
                "dispossessed": 0.3909,
                "duels_lost": 1.2864,
                "aerial_lost": 0.2696,
                "total_contest": 1.0781,
                "won_contest": 0.5869,
                "ball_recovery": 1.5491,
                "challenges_lost": 0.0465,
                "fouls": 0.1526,
                "fouls_drawn": 0.199,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "interceptions": 0.0891,
                "tackles_won": 0.2498,
                "tackles": 0.4488,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2104,
                "xgot": 0.1295,
                "offsides": 0.0462,
                "ball_carries": 5.4739,
                "total_progression": 24.3625,
                "progressive_carries": 1.1346,
                "shots_off_target": 0.5541
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Levante UD",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.11,
                  "totalOppositionHalfPasses": 14.2672,
                  "accurateOppositionHalfPasses": 11.3348,
                  "accuratePass": 15.2397,
                  "totalShots": 1.8128
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06382957100868225,
                    "model_output": 0.0638,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0041
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0638,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567062
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.156108
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.079078
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.047229
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.039338
                        }
                      ],
                      "others_margin": -0.248045
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06845622509717941,
                    "model_output": 0.0685,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0916
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0067
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0685,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597336
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.156254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.107209
                        },
                        {
                          "name": "goals",
                          "margin": -0.081416
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.064912
                        }
                      ],
                      "others_margin": -0.083571
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2903119623661041,
                    "model_output": 0.2903,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2126
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0278
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.019
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0147
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0225,
                      "total": 0.2903,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.503937
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.089751
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.062125
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047851
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.038635
                        }
                      ],
                      "others_margin": -0.074225
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8444035053253174,
                    "model_output": 0.8444,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5343
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0921
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0319
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0254
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0784,
                      "total": 0.8444,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.534298
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.092121
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.031852
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.025386
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.020244
                        }
                      ],
                      "others_margin": -0.078348
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07471262663602829,
                    "model_output": 0.0747,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0184
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.007
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0039
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0028
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.0747,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.33814
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.142264
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.105754
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.064588
                        },
                        {
                          "name": "rating",
                          "margin": 0.043532
                        }
                      ],
                      "others_margin": 0.13235
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6261855959892273,
                    "model_output": 0.6262,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.249
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0609
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0477
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0229
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.0949,
                      "total": 0.6262,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461193
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.133886
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.093624
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.043966
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.039533
                        }
                      ],
                      "others_margin": 0.164568
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7537102699279785,
                    "model_output": 6.7537,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0706
                        },
                        {
                          "name": "wasFouled",
                          "contribution": 0.0147
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0116
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0109
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0095
                        }
                      ],
                      "others": 0.0154,
                      "total": 6.7537,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.070595
                        },
                        {
                          "name": "wasFouled",
                          "margin": 0.014672
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011556
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010874
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.009489
                        }
                      ],
                      "others_margin": 0.015555
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 38,
                  "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.9988, quality 0.471)",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0684,
                "goal_rate": 0.0684,
                "shots_on_target": 0.29,
                "total_shots": 0.8434,
                "expected_assists": 0.0746,
                "key_pass": 0.6254,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3647,
                "accurate_pass": 6.5028,
                "duels_won": 1.5502,
                "total_long_balls": 0.3312,
                "accurate_long_balls": 0.2669,
                "total_opp_half_passes": 6.9258,
                "accurate_opp_half_passes": 5.2074,
                "crosses_total": 1.5295,
                "crosses_accurate": 0.37,
                "touches": 15.238,
                "possession_lost": 4.687,
                "dispossessed": 0.3904,
                "duels_lost": 1.2849,
                "aerial_lost": 0.2693,
                "total_contest": 1.0768,
                "won_contest": 0.5862,
                "ball_recovery": 1.5472,
                "challenges_lost": 0.0464,
                "fouls": 0.1524,
                "fouls_drawn": 0.1988,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "interceptions": 0.089,
                "tackles_won": 0.2495,
                "tackles": 0.4483,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2101,
                "xgot": 0.1293,
                "offsides": 0.0461,
                "ball_carries": 5.4673,
                "total_progression": 24.3333,
                "progressive_carries": 1.1332,
                "shots_off_target": 0.5534
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "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.0030)",
              "stats": {
                "expected_goals": 0.0638,
                "goals": 0.0682,
                "goal_rate": 0.0682,
                "shots_on_target": 0.2931,
                "total_shots": 0.8488,
                "expected_assists": 0.0746,
                "key_pass": 0.6254,
                "rating": 6.7537,
                "minutes": 21.83,
                "total_pass": 8.3647,
                "accurate_pass": 6.5028,
                "duels_won": 1.5502,
                "total_long_balls": 0.3312,
                "accurate_long_balls": 0.2669,
                "total_opp_half_passes": 6.9258,
                "accurate_opp_half_passes": 5.2074,
                "crosses_total": 1.5261,
                "crosses_accurate": 0.37,
                "touches": 15.238,
                "possession_lost": 4.687,
                "dispossessed": 0.3904,
                "duels_lost": 1.2849,
                "aerial_lost": 0.2693,
                "total_contest": 1.0768,
                "won_contest": 0.5862,
                "ball_recovery": 1.5472,
                "challenges_lost": 0.0464,
                "fouls": 0.1519,
                "fouls_drawn": 0.1994,
                "assists": 0.0544,
                "assist_rate": 0.0544,
                "interceptions": 0.0887,
                "tackles_won": 0.25,
                "tackles": 0.4483,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2101,
                "xgot": 0.1293,
                "offsides": 0.046,
                "ball_carries": 5.4673,
                "total_progression": 24.3333,
                "progressive_carries": 1.1332,
                "shots_off_target": 0.5534
              },
              "params": {
                "blend_weight": 0.003,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2426,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.8434,
                  "after": 0.8488
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.8 to 20.8 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0608,
                "goals": 0.065,
                "goal_rate": 0.065,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assists": 0.0518,
                "assist_rate": 0.0518,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79
              },
              "params": {
                "expected_minutes": 20.79,
                "projection_minutes": 21.83,
                "minutes_scale": 0.9524,
                "appearance_probability": 0.722
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0608,
                "goals": 0.065,
                "goal_rate": 0.065,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assists": 0.0518,
                "assist_rate": 0.0518,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0608,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.071,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1231,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.0379,
                "creation_factor": 0.8413
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.722
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.071,
                  "after": 0.0818
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 961,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0539,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0539,
                "goal_rate": 0.065,
                "scorer_weight": 0.0581,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0276,
                "finishing_factor": 1.0379,
                "appearance_weight": 0.722,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.056,
                "goal_rate": 0.065,
                "goals": 0,
                "shots_on_target": 0.2791,
                "total_shots": 0.8084,
                "expected_assists": 0.0818,
                "key_pass": 0.5956,
                "rating": 6.7537,
                "minutes": 20.79,
                "total_pass": 7.9662,
                "accurate_pass": 6.193,
                "duels_won": 1.4763,
                "total_long_balls": 0.3154,
                "accurate_long_balls": 0.2542,
                "total_opp_half_passes": 6.5958,
                "accurate_opp_half_passes": 4.9593,
                "crosses_total": 1.4534,
                "crosses_accurate": 0.3524,
                "touches": 14.512,
                "possession_lost": 4.4637,
                "dispossessed": 0.3904,
                "duels_lost": 1.2237,
                "aerial_lost": 0.2693,
                "total_contest": 1.0255,
                "won_contest": 0.5583,
                "ball_recovery": 1.4735,
                "challenges_lost": 0.0464,
                "fouls": 0.1447,
                "fouls_drawn": 0.1899,
                "assist_rate": 0.0518,
                "assists": 0,
                "interceptions": 0.0845,
                "tackles_won": 0.2381,
                "tackles": 0.4269,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2001,
                "xgot": 0.1135,
                "offsides": 0.046,
                "ball_carries": 5.2068,
                "total_progression": 23.174,
                "progressive_carries": 1.0792,
                "shots_off_target": 0.527,
                "bench_appearance_probability": 0.722,
                "bench_expected_minutes": 20.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0539,
                "projected_assists": 0,
                "assist_probability": 0.0773,
                "finishing_factor": 1.0379,
                "creation_factor": 0.8413,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0773,
                "assist_rate": 0.0518,
                "provider_weight": 0.0688,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0526,
                "creation_factor": 0.8413,
                "appearance_weight": 0.722,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Jon Gorrotxategi": {
          "player_id": 1216309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 177,
          "market_value": 27000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0233,
            "assist_rate": 0.027,
            "assists": 0,
            "expected_goals": 0.0116,
            "goal_rate": 0.0233,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7433,
            "minutes": 19,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.5231,
            "dispossessed": 0.2283,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.713,
            "bench_expected_minutes": 19.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0115,
            "projected_assists": 0,
            "assist_probability": 0.0229,
            "finishing_factor": 1.1691,
            "creation_factor": 1.0922,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0408,
                "total_shots": 0,
                "total_pass": 73,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 4,
                "clearances": 2,
                "aerial_won": 2,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 20,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0502,
                "expected_assists": 0.0841,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 80,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0377,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 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": 1369,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7433,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Gorrotxategi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                },
                {
                  "player_name": "Ui-jun Jin",
                  "ranking": 1367
                },
                {
                  "player_name": "Diego Villares",
                  "ranking": 1368
                }
              ],
              "lower": [
                {
                  "player_name": "Vitão",
                  "ranking": 1370
                },
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.14,
            "bench_appearance_prob": 0.713,
            "market_value_adjustment": 1.0071,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 16.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 19.1 expected mins (appearance prob 0.71); FBref playing time empirical prior: 2.0 sub appearances, 16.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.246,
                "expected_assists": 0.021,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.013,
                "goals": 0.0239,
                "goal_rate": 0.0239,
                "shots_on_target": 0.0644,
                "total_shots": 0.2157,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.1329,
                "accurate_pass": 8.9989,
                "duels_won": 0.9989,
                "total_long_balls": 0.7587,
                "accurate_long_balls": 0.3182,
                "total_own_half_passes": 3.5181,
                "accurate_own_half_passes": 3.3691,
                "total_opp_half_passes": 6.6148,
                "accurate_opp_half_passes": 5.6298,
                "crosses_total": 0.253,
                "crosses_accurate": 0.0,
                "touches": 14.3764,
                "possession_lost": 2.5943,
                "dispossessed": 0.2267,
                "duels_lost": 0.7019,
                "aerial_won": 0.2928,
                "aerial_lost": 0.0,
                "interceptions": 0.1576,
                "tackles_won": 0.1439,
                "tackles": 0.21,
                "clearances": 0.7737,
                "total_contest": 0.3268,
                "won_contest": 0.2607,
                "challenges_lost": 0.2353,
                "fouls": 0.1737,
                "fouls_drawn": 0.2353,
                "blocks": 0.1266,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.291,
                "total_progression": 12.182,
                "progressive_carries": 0.098,
                "shots_off_target": 0.1513
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1593,
                  "creative_index": 0.1362,
                  "expectedGoals": 0.0077,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2459585964679718,
                    "model_output": 0.246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.425
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.052
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0363
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0194
                        }
                      ],
                      "others": -0.0625,
                      "total": 0.246,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.653085
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.119727
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.116448
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105036
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.061088
                        }
                      ],
                      "others_margin": -0.226392
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021039515733718872,
                    "model_output": 0.021,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0346
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0117
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.002
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.021,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.515787
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.258835
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.165007
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.060987
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.059932
                        }
                      ],
                      "others_margin": -0.344759
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02779226377606392,
                    "model_output": 0.0278,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.008
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0064
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0028
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.0278,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.326601
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.139938
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.128435
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.062275
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.059785
                        }
                      ],
                      "others_margin": -0.403559
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.013018133118748665,
                    "model_output": 0.013,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0021
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.013,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552492
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.421842
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.382918
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.088581
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.080193
                        }
                      ],
                      "others_margin": -0.45547
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.023894960060715675,
                    "model_output": 0.0239,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0327
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0037
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.407588
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.288335
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.231856
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.101697
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.090996
                        }
                      ],
                      "others_margin": -0.287201
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06435517966747284,
                    "model_output": 0.0644,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.127
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0656
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0293
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0073
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.0644,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.497367
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.404645
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.251966
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.073963
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042596
                        }
                      ],
                      "others_margin": -0.345761
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.21562787890434265,
                    "model_output": 0.2156,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3056
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2478
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0278
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.027
                        }
                      ],
                      "others": -0.1305,
                      "total": 0.2156,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.305568
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.247814
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036193
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.027819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026961
                        }
                      ],
                      "others_margin": -0.130482
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.743308067321777,
                    "model_output": 6.7433,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0976
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0274
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0216
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0111
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0191,
                      "total": 6.7433,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.09761
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.027445
                        },
                        {
                          "name": "rating",
                          "margin": -0.02164
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011147
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.005844
                        }
                      ],
                      "others_margin": -0.019058
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "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.0071, quality 0.694)",
              "stats": {
                "key_pass": 0.2477,
                "expected_assists": 0.0212,
                "assists": 0.028,
                "assist_rate": 0.028,
                "expected_goals": 0.0131,
                "goals": 0.0241,
                "goal_rate": 0.0241,
                "shots_on_target": 0.0648,
                "total_shots": 0.2172,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2548,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1587,
                "tackles_won": 0.1449,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1749,
                "fouls_drawn": 0.237,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1524
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0071,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0016)",
              "stats": {
                "key_pass": 0.2477,
                "expected_assists": 0.0212,
                "assists": 0.028,
                "assist_rate": 0.028,
                "expected_goals": 0.0131,
                "goals": 0.0241,
                "goal_rate": 0.0241,
                "shots_on_target": 0.0647,
                "total_shots": 0.2168,
                "rating": 6.7433,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2544,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1584,
                "tackles_won": 0.1447,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1746,
                "fouls_drawn": 0.2366,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1524
              },
              "params": {
                "blend_weight": 0.0016,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2202,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.8 to 19.1 expected minutes (appearance prob 0.71)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assists": 0.027,
                "assist_rate": 0.027,
                "expected_goals": 0.0127,
                "goals": 0.0233,
                "goal_rate": 0.0233,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "expected_minutes": 19.14,
                "projection_minutes": 19.82,
                "minutes_scale": 0.9657,
                "appearance_probability": 0.713
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assists": 0.027,
                "assist_rate": 0.027,
                "expected_goals": 0.0127,
                "goals": 0.0233,
                "goal_rate": 0.0233,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0205,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0127,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.1691,
                "creation_factor": 1.0922
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.713
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1369,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0115,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0115,
                "goal_rate": 0.0233,
                "scorer_weight": 0.0136,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0064,
                "finishing_factor": 1.1691,
                "appearance_weight": 0.713,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.2392,
                "expected_assists": 0.0233,
                "assist_rate": 0.027,
                "assists": 0,
                "expected_goals": 0.0116,
                "goal_rate": 0.0233,
                "goals": 0,
                "shots_on_target": 0.0625,
                "total_shots": 0.2097,
                "rating": 6.7433,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1472,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0115,
                "projected_assists": 0,
                "assist_probability": 0.0229,
                "finishing_factor": 1.1691,
                "creation_factor": 1.0922,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0229,
                "assist_rate": 0.027,
                "provider_weight": 0.0254,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0194,
                "creation_factor": 1.0922,
                "appearance_weight": 0.713,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        },
        "Job Ochieng": {
          "player_id": 1111081,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 185,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.08,
            "goal_rate": 0.0869,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0331,
            "key_pass": 0,
            "rating": 6.578,
            "minutes": 25,
            "total_pass": 16,
            "accurate_pass": 11,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 13.3277,
            "dispossessed": 1.56,
            "duels_lost": 6,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.7193,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0661,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 86,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.36,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.729,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0746,
            "projected_assists": 0,
            "assist_probability": 0.0321,
            "finishing_factor": 0.8477,
            "creation_factor": 1.25,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421073,
              "match_date": "2026-10-18 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Málaga",
              "away_team": "Real Sociedad",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Málaga",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0528,
                "expected_assists": 0.0325,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421067,
              "match_date": "2026-10-11 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo",
              "home_score_current": 3.0,
              "away_score_current": 2.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Sociedad",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2406,
                "expected_assists": 0.0895,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 17,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.189,
                "expected_assists": 0.079,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 10,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0832,
                "expected_assists": 0.0112,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1531,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083292,
              "match_date": "2026-02-07",
              "home_team": "Real Sociedad",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0428,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6248,
            "combined_rank_score": 4513.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 8154.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.578,
            "source_file": "data/player_rankings.csv",
            "player_name": "Job Ochieng",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kevin Zenón",
                  "ranking": 6243
                },
                {
                  "player_name": "Gonzalo Abrego",
                  "ranking": 6244
                },
                {
                  "player_name": "Facundo Sanguinetti",
                  "ranking": 6245
                },
                {
                  "player_name": "Matías Mansilla",
                  "ranking": 6246
                },
                {
                  "player_name": "Valentin Mihăilă",
                  "ranking": 6247
                }
              ],
              "lower": [
                {
                  "player_name": "Juan de Dios Pintado",
                  "ranking": 6249
                },
                {
                  "player_name": "Ivan Scarpeta",
                  "ranking": 6250
                },
                {
                  "player_name": "Matías Abaldo",
                  "ranking": 6251
                },
                {
                  "player_name": "Rodrigo Insua",
                  "ranking": 6252
                },
                {
                  "player_name": "Juan Ignacio Díaz",
                  "ranking": 6253
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.356033856478426,
            "bench_appearance_prob": 0.5616379025672013,
            "market_value_adjustment": 0.993,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0912,
                "goals": 0.071,
                "goal_rate": 0.071,
                "shots_on_target": 0.297,
                "total_shots": 0.9795,
                "expected_assists": 0.0302,
                "key_pass": 0.3451,
                "rating": 6.578,
                "minutes": 20.61,
                "total_pass": 12.9455,
                "accurate_pass": 8.6788,
                "duels_won": 2.4737,
                "total_long_balls": 0.1069,
                "accurate_long_balls": 0.1069,
                "total_opp_half_passes": 9.1226,
                "accurate_opp_half_passes": 6.0883,
                "crosses_total": 1.2997,
                "crosses_accurate": 0.174,
                "touches": 27.6864,
                "possession_lost": 10.9095,
                "dispossessed": 1.571,
                "duels_lost": 5.2567,
                "aerial_lost": 0.7932,
                "total_contest": 2.5323,
                "won_contest": 0.9378,
                "ball_recovery": 3.221,
                "challenges_lost": 0.4148,
                "fouls": 1.0878,
                "fouls_drawn": 0.174,
                "assists": 0.5888,
                "assist_rate": 0.5888,
                "interceptions": 0.1257,
                "tackles_won": 0.5405,
                "tackles": 1.0139,
                "clearances": 0.1257,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0754,
                "offsides": 0.3665,
                "ball_carries": 7.4417,
                "total_progression": 70.6797,
                "progressive_carries": 3.1955,
                "shots_off_target": 0.6825
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1224,
                  "totalOppositionHalfPasses": 9.1226,
                  "accurateOppositionHalfPasses": 6.0883,
                  "accuratePass": 8.6789,
                  "totalShots": 1.9329
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09121359884738922,
                    "model_output": 0.0912,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0747
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0168
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0159
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0101
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0057
                        }
                      ],
                      "others": -0.0164,
                      "total": 0.0912,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470837
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.14549
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.137875
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.085535
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052099
                        }
                      ],
                      "others_margin": -0.163787
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0710478276014328,
                    "model_output": 0.071,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0935
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0161
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0039
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.614202
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.157528
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.130394
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.048888
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.042079
                        }
                      ],
                      "others_margin": -0.144605
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2970443367958069,
                    "model_output": 0.297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2085
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0321
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0239
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0216
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.297,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.491613
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.09323
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.068533
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.066348
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051767
                        }
                      ],
                      "others_margin": -0.007047
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9795295000076294,
                    "model_output": 0.9795,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6319
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1622
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0898
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0764
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0469
                        }
                      ],
                      "others": -0.1426,
                      "total": 0.9795,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.631862
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.162208
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.089787
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.076385
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.046948
                        }
                      ],
                      "others_margin": -0.142644
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.030238095670938492,
                    "model_output": 0.0302,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0235
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0035
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0302,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.454872
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.089568
                        },
                        {
                          "name": "rating",
                          "margin": -0.058173
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.057827
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.049634
                        }
                      ],
                      "others_margin": -0.044125
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3451046347618103,
                    "model_output": 0.3451,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2865
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0301
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0237
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0131
                        }
                      ],
                      "others": 0.0099,
                      "total": 0.3451,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.553427
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.080881
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.068621
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.0427
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.038391
                        }
                      ],
                      "others_margin": 0.029272
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.577960968017578,
                    "model_output": 6.578,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0713
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0249
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0199
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0198
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0301,
                      "total": 6.578,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.071315
                        },
                        {
                          "name": "rating",
                          "margin": -0.024918
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.019922
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019801
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.018243
                        }
                      ],
                      "others_margin": -0.030002
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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.9930, quality 0.454)",
              "stats": {
                "expected_goals": 0.0906,
                "goals": 0.0706,
                "goal_rate": 0.0706,
                "shots_on_target": 0.295,
                "total_shots": 0.9727,
                "expected_assists": 0.03,
                "key_pass": 0.3427,
                "rating": 6.578,
                "minutes": 20.61,
                "total_pass": 12.8549,
                "accurate_pass": 8.618,
                "duels_won": 2.4564,
                "total_long_balls": 0.1062,
                "accurate_long_balls": 0.1062,
                "total_opp_half_passes": 9.0587,
                "accurate_opp_half_passes": 6.0457,
                "crosses_total": 1.2906,
                "crosses_accurate": 0.1728,
                "touches": 27.4926,
                "possession_lost": 10.8331,
                "dispossessed": 1.56,
                "duels_lost": 5.2199,
                "aerial_lost": 0.7876,
                "total_contest": 2.5146,
                "won_contest": 0.9312,
                "ball_recovery": 3.1985,
                "challenges_lost": 0.4119,
                "fouls": 1.0802,
                "fouls_drawn": 0.1728,
                "assists": 0.5847,
                "assist_rate": 0.5847,
                "interceptions": 0.1248,
                "tackles_won": 0.5367,
                "tackles": 1.0068,
                "clearances": 0.1248,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0749,
                "offsides": 0.3639,
                "ball_carries": 7.3896,
                "total_progression": 70.1849,
                "progressive_carries": 3.1731,
                "shots_off_target": 0.6777
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.993,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.6 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1115,
                "goals": 0.0869,
                "goal_rate": 0.0869,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assists": 0.7193,
                "assist_rate": 0.7193,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 20.61,
                "minutes_scale": 1.2303,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1115,
                "goals": 0.0869,
                "goal_rate": 0.0869,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assists": 0.7193,
                "assist_rate": 0.7193,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1115,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0369,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0921,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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": 2
              },
              "changes": [
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.94 (squad xG sum 1.5225, xG scale 1.2768, xA scale 1.5962, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.8477,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.944,
                "squad_xg_sum": 1.5225,
                "squad_xa_sum": 0.7916,
                "team_expected_assists": 1.2636,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2768,
                "xa_scale": 1.5962,
                "opponent_lambda": 1.04,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1115,
                  "after": 0.08
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "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.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6248,
                "fifa_rank": 8154.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0746,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0746,
                "goal_rate": 0.0869,
                "scorer_weight": 0.0678,
                "squad_weight_total": 2.1049,
                "weight_share": 0.0322,
                "finishing_factor": 0.8477,
                "appearance_weight": 0.562,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Orri Óskarsson",
                    "weight": 0.6471,
                    "already": 0,
                    "effective_weight": 0.6471,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2968
                  },
                  {
                    "n": 2,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.2968,
                    "already": 0,
                    "effective_weight": 0.2968,
                    "runner_up": "Orri Óskarsson",
                    "runner_up_effective_weight": 0.2754
                  }
                ]
              }
            },
            {
              "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.08,
                "goal_rate": 0.0869,
                "goals": 0,
                "shots_on_target": 0.3629,
                "total_shots": 1.1967,
                "expected_assists": 0.0331,
                "key_pass": 0.4216,
                "rating": 6.578,
                "minutes": 25.36,
                "total_pass": 15.8151,
                "accurate_pass": 10.6025,
                "duels_won": 3.0221,
                "total_long_balls": 0.1307,
                "accurate_long_balls": 0.1307,
                "total_opp_half_passes": 11.1447,
                "accurate_opp_half_passes": 7.4379,
                "crosses_total": 1.5878,
                "crosses_accurate": 0.2126,
                "touches": 33.8235,
                "possession_lost": 13.3277,
                "dispossessed": 1.56,
                "duels_lost": 6.4219,
                "aerial_lost": 0.7876,
                "total_contest": 3.0937,
                "won_contest": 1.1456,
                "ball_recovery": 3.935,
                "challenges_lost": 0.4119,
                "fouls": 1.3289,
                "fouls_drawn": 0.2126,
                "assist_rate": 0.7193,
                "assists": 0,
                "interceptions": 0.1535,
                "tackles_won": 0.6603,
                "tackles": 1.2386,
                "clearances": 0.1535,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0661,
                "offsides": 0.3639,
                "ball_carries": 9.0913,
                "total_progression": 86.347,
                "progressive_carries": 3.9038,
                "shots_off_target": 0.8338,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.729,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0746,
                "projected_assists": 0,
                "assist_probability": 0.0321,
                "finishing_factor": 0.8477,
                "creation_factor": 1.25,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0321,
                "assist_rate": 0.7193,
                "provider_weight": 0.0414,
                "squad_weight_total": 1.3089,
                "weight_share": 0.0316,
                "creation_factor": 1.25,
                "appearance_weight": 0.562,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.244,
                    "already": 0,
                    "effective_weight": 0.244,
                    "runner_up": "Mikel Oyarzabal",
                    "runner_up_effective_weight": 0.2235
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 1.94,
        "expected_assists": 1.26,
        "total_shots": 14,
        "shots_on_target": 4,
        "total_passes": 416,
        "interceptions": 7,
        "tackles": 14,
        "avg_rating": 6.83,
        "possession_estimated_pct": 51.0,
        "pressing_actions_per_90": 6.5
      }
    },
    "Levante": {
      "formation": "4-3-3",
      "players": {
        "Roger Brugué": {
          "player_id": 909554,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 173,
          "market_value": 2800000,
          "stats": {
            "expected_goals": 0.253,
            "goal_rate": 0.2773,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0675,
            "key_pass": 1,
            "rating": 6.8814,
            "minutes": 82,
            "total_pass": 16,
            "accurate_pass": 13,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 31,
            "possession_lost": 9.0807,
            "dispossessed": 0.9227,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0323,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2397,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 0,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7521,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Héctor Fort, Mamadou Sarr",
            "opponent_faced": "Héctor Fort, Mamadou Sarr",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2235,
            "projected_assists": 0,
            "assist_probability": 0.0653,
            "finishing_factor": 1.0309,
            "creation_factor": 0.8,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.6,
                "expected_assists": 0.016,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.4183,
                "expected_assists": 0.09,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 21,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0343,
                "expected_assists": 0.0229,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7315,
                "expected_assists": 0.0037,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 16,
                "accurate_pass": 11,
                "tackles": 4,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1037,
                "expected_assists": 0.0001,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 9,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 84,
                "rating": 8.1,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3226,
                "expected_assists": 0.1867,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.527,
                "expected_assists": 0.0403,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 3,
                "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": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 20,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0781,
                "expected_assists": 0.0,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 1,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083613,
              "match_date": "2026-05-12",
              "home_team": "Celta Vigo",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6033,
                "expected_assists": 0.4916,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3031,
                "expected_assists": 0.1144,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 229,
            "combined_rank_score": 100.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 172.0,
            "sofascore_rating": 7.25,
            "sofascore_appearances": 2.0,
            "fifa_rank": 28.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8814,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roger Brugué",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rodrigo Riquelme",
                  "ranking": 224
                },
                {
                  "player_name": "Luis Chávez",
                  "ranking": 225
                },
                {
                  "player_name": "Julio González",
                  "ranking": 226
                },
                {
                  "player_name": "Gabriel Magalhães",
                  "ranking": 227
                },
                {
                  "player_name": "Ikram Alibaev",
                  "ranking": 228
                }
              ],
              "lower": [
                {
                  "player_name": "Luis Sinisterra",
                  "ranking": 230
                },
                {
                  "player_name": "Min Junyeong",
                  "ranking": 231
                },
                {
                  "player_name": "William Saliba",
                  "ranking": 232
                },
                {
                  "player_name": "Elliot Anderson",
                  "ranking": 233
                },
                {
                  "player_name": "Nikolai Ivanov",
                  "ranking": 234
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 24,
          "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": 24,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9965,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 24 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.357,
                "goals": 0.37,
                "goal_rate": 0.37,
                "shots_on_target": 0.9655,
                "total_shots": 2.1952,
                "expected_assists": 0.0602,
                "key_pass": 0.6917,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4752,
                "accurate_pass": 12.6442,
                "duels_won": 3.7124,
                "total_long_balls": 1.0535,
                "accurate_long_balls": 0.6604,
                "total_opp_half_passes": 10.3464,
                "accurate_opp_half_passes": 7.1225,
                "crosses_total": 1.5555,
                "crosses_accurate": 0.0825,
                "touches": 31.1865,
                "possession_lost": 9.1126,
                "dispossessed": 0.9259,
                "duels_lost": 5.0893,
                "aerial_lost": 1.5809,
                "total_contest": 1.4759,
                "won_contest": 0.4573,
                "ball_recovery": 2.765,
                "challenges_lost": 0.8406,
                "fouls": 0.8629,
                "fouls_drawn": 0.7121,
                "assists": 0.0324,
                "assist_rate": 0.0324,
                "interceptions": 0.2126,
                "tackles_won": 0.8492,
                "tackles": 1.4491,
                "clearances": 1.1471,
                "blocks": 0.2024,
                "big_chances_created": 0.0342,
                "big_chances_missed": 0.3795,
                "xgot": 0.3381,
                "offsides": 0.1904,
                "ball_carries": 9.4104,
                "total_progression": 0.0,
                "progressive_carries": 0.8807,
                "shots_off_target": 1.2296
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1531,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1301,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0799,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0679,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0577,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0491,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0417,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2025-12-08",
                    "opponent": "Osasuna",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0355,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3586,
                  "totalOppositionHalfPasses": 8.6734,
                  "accurateOppositionHalfPasses": 5.8553,
                  "accuratePass": 10.2045,
                  "totalShots": 2.1239
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3569812774658203,
                    "model_output": 0.357,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0673
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0384
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0276
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0099
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.357,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291562
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.134772
                        },
                        {
                          "name": "goals",
                          "margin": 0.086696
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.029248
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.028037
                        }
                      ],
                      "others_margin": 0.014291
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3699781596660614,
                    "model_output": 0.37,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0627
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0511
                        },
                        {
                          "name": "goals",
                          "contribution": 0.034
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.013
                        }
                      ],
                      "others": 0.0296,
                      "total": 0.37,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.268286
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.175584
                        },
                        {
                          "name": "goals",
                          "margin": 0.101699
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.070898
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.038844
                        }
                      ],
                      "others_margin": 0.083036
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.965543270111084,
                    "model_output": 0.9655,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1831
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0534
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0471
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0497
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.049
                        }
                      ],
                      "others": 0.1442,
                      "total": 0.9655,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.293414
                        },
                        {
                          "name": "goals",
                          "margin": 0.071589
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.059167
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.058853
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.05793
                        }
                      ],
                      "others_margin": 0.161638
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.1951680183410645,
                    "model_output": 2.1952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5023
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2029
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0843
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0515
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0414
                        }
                      ],
                      "others": 0.0371,
                      "total": 2.1952,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.502314
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.202853
                        },
                        {
                          "name": "goals",
                          "margin": 0.08428
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.051454
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.041351
                        }
                      ],
                      "others_margin": 0.037117
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.060150835663080215,
                    "model_output": 0.0602,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0082
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0077
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0068
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0602,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.190904
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.111033
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.104639
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.092701
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.045538
                        }
                      ],
                      "others_margin": -0.112717
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6917102932929993,
                    "model_output": 0.6917,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1927
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0598
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0466
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0348
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0267
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.6917,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.251433
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.071535
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.059457
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.046795
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.037464
                        }
                      ],
                      "others_margin": -0.010211
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.881387710571289,
                    "model_output": 6.8814,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0664
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": 0.0247
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0164
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0159
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0122
                        }
                      ],
                      "others": 0.008,
                      "total": 6.8814,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.066382
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": 0.024729
                        },
                        {
                          "name": "rating",
                          "margin": 0.016422
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.01587
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.012201
                        }
                      ],
                      "others_margin": 0.008023
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 24,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9965, quality 0.437)",
              "stats": {
                "expected_goals": 0.3557,
                "goals": 0.3687,
                "goal_rate": 0.3687,
                "shots_on_target": 0.9622,
                "total_shots": 2.1875,
                "expected_assists": 0.0599,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assists": 0.0323,
                "assist_rate": 0.0323,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.3782,
                "xgot": 0.3369,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 1.2253
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9965,
                "reference_quality": 0.505,
                "history_matches": 24,
                "history_shrink": 0.1724,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3557,
                "goals": 0.3687,
                "goal_rate": 0.3687,
                "shots_on_target": 0.9622,
                "total_shots": 2.1875,
                "expected_assists": 0.0599,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assists": 0.0323,
                "assist_rate": 0.0323,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.3782,
                "xgot": 0.3369,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 1.2253
              },
              "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.2675,
                "goals": 0.2773,
                "goal_rate": 0.2773,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0599,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assists": 0.0323,
                "assist_rate": 0.0323,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2534,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Héctor Fort, Mamadou Sarr",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7521,
                  "skill_edge": -0.1087,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.6789,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Héctor Fort",
                      "market_value": 14600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6258
                    },
                    {
                      "player": "Mamadou Sarr",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    }
                  ],
                  "xg_override": 0.2675
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1875,
                  "after": 1.6452
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2253,
                  "after": 0.9215
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9622,
                  "after": 0.7237
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3782,
                  "after": 0.2844
                },
                {
                  "stat": "goals",
                  "before": 0.3687,
                  "after": 0.2773
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3557,
                  "after": 0.2675
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3369,
                  "after": 0.2534
                }
              ]
            },
            {
              "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.2675,
                "goal_rate": 0.2773,
                "goals": 0,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0599,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assist_rate": 0.0323,
                "assists": 0,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2534,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.253,
                "goal_rate": 0.2773,
                "goals": 0,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0675,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assist_rate": 0.0323,
                "assists": 0,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2397,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0309,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2675,
                  "after": 0.253
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0599,
                  "after": 0.0675
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 88.0)",
              "stats": {
                "expected_goals": 0.253,
                "goal_rate": 0.2773,
                "goals": 0,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0675,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assist_rate": 0.0323,
                "assists": 0,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2397,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0309,
                "creation_factor": 0.8,
                "fifa_overall": 88.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 229,
                "fifa_rank": 28.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 88.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.253,
                "goal_rate": 0.2773,
                "goals": 0,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0675,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assist_rate": 0.0323,
                "assists": 0,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2397,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2235,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0309,
                "creation_factor": 0.8,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2235,
                "goal_rate": 0.2773,
                "scorer_weight": 0.2608,
                "squad_weight_total": 1.0647,
                "weight_share": 0.245,
                "finishing_factor": 1.0309,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.253,
                "goal_rate": 0.2773,
                "goals": 0,
                "shots_on_target": 0.7237,
                "total_shots": 1.6452,
                "expected_assists": 0.0675,
                "key_pass": 0.6893,
                "rating": 6.8814,
                "minutes": 81.94,
                "total_pass": 16.4175,
                "accurate_pass": 12.5999,
                "duels_won": 3.6994,
                "total_long_balls": 1.0498,
                "accurate_long_balls": 0.6581,
                "total_opp_half_passes": 10.3102,
                "accurate_opp_half_passes": 7.0976,
                "crosses_total": 1.5501,
                "crosses_accurate": 0.0822,
                "touches": 31.0773,
                "possession_lost": 9.0807,
                "dispossessed": 0.9227,
                "duels_lost": 5.0715,
                "aerial_lost": 1.5754,
                "total_contest": 1.4707,
                "won_contest": 0.4557,
                "ball_recovery": 2.7553,
                "challenges_lost": 0.8377,
                "fouls": 0.8599,
                "fouls_drawn": 0.7096,
                "assist_rate": 0.0323,
                "assists": 0,
                "interceptions": 0.2119,
                "tackles_won": 0.8462,
                "tackles": 1.444,
                "clearances": 1.1431,
                "blocks": 0.2017,
                "big_chances_created": 0.0341,
                "big_chances_missed": 0.2844,
                "xgot": 0.2397,
                "offsides": 0.1897,
                "ball_carries": 9.3775,
                "total_progression": 0.0,
                "progressive_carries": 0.8776,
                "shots_off_target": 0.9215,
                "duel_xg_multiplier": 0.7521,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Héctor Fort, Mamadou Sarr",
                "opponent_faced": "Héctor Fort, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2235,
                "projected_assists": 0,
                "assist_probability": 0.0653,
                "finishing_factor": 1.0309,
                "creation_factor": 0.8,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0653,
                "assist_rate": 0.0323,
                "provider_weight": 0.054,
                "squad_weight_total": 0.6667,
                "weight_share": 0.081,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iván Romero": {
          "player_id": 1014042,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 172,
          "market_value": 7400000,
          "stats": {
            "expected_goals": 0.3054,
            "goal_rate": 0.3188,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0659,
            "key_pass": 1,
            "rating": 6.9563,
            "minutes": 73,
            "total_pass": 15,
            "accurate_pass": 11,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 31,
            "possession_lost": 10.2459,
            "dispossessed": 1.3155,
            "duels_lost": 6,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0057,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1872,
            "offsides": 0,
            "ball_carries": 10,
            "total_progression": 24,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.908,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "aerial_won": 1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.417,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Sergio Gómez",
            "opponent_faced": "Sergio Gómez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2632,
            "projected_assists": 0,
            "assist_probability": 0.0638,
            "finishing_factor": 0.9893,
            "creation_factor": 0.8,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.7,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1952,
                "expected_assists": 0.159,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 63,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.054,
                "expected_assists": 0.0018,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3677,
                "expected_assists": 0.0,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1333,
                "expected_assists": 0.1303,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0922,
                "expected_assists": 0.0085,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4209,
                "expected_assists": 0.0291,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0291,
                "expected_assists": 0.003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_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"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 78,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2565,
                "expected_assists": 0.0168,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3447,
            "combined_rank_score": 1440.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 469.0,
            "sofascore_rating": 6.8844,
            "sofascore_appearances": 32.0,
            "fifa_rank": 2411.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9563,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iván Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ],
              "lower": [
                {
                  "player_name": "Josh Acheampong",
                  "ranking": 3448
                },
                {
                  "player_name": "Ryan Yates",
                  "ranking": 3449
                },
                {
                  "player_name": "Scott McKenna",
                  "ranking": 3450
                },
                {
                  "player_name": "Cédric Kipré",
                  "ranking": 3451
                },
                {
                  "player_name": "Connor Roberts",
                  "ranking": 3452
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "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": 22.2,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Levante, 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.3557,
                "goals": 0.3558,
                "goal_rate": 0.3558,
                "shots_on_target": 0.9118,
                "total_shots": 2.3136,
                "expected_assists": 0.0586,
                "key_pass": 0.6589,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3389,
                "accurate_pass": 11.2692,
                "duels_won": 5.1135,
                "total_long_balls": 0.6087,
                "accurate_long_balls": 0.4135,
                "total_opp_half_passes": 9.8145,
                "accurate_opp_half_passes": 6.5113,
                "crosses_total": 0.5166,
                "crosses_accurate": 0.0403,
                "touches": 30.8061,
                "possession_lost": 10.251,
                "dispossessed": 1.3162,
                "duels_lost": 5.9499,
                "aerial_lost": 1.7266,
                "total_contest": 2.0602,
                "won_contest": 0.9761,
                "ball_recovery": 2.6662,
                "challenges_lost": 0.9173,
                "fouls": 1.0451,
                "fouls_drawn": 1.8481,
                "assists": 0.0058,
                "assist_rate": 0.0058,
                "interceptions": 0.229,
                "tackles_won": 0.4222,
                "tackles": 1.2052,
                "clearances": 0.3588,
                "blocks": 0.0068,
                "big_chances_created": 0.195,
                "big_chances_missed": 0.5189,
                "xgot": 0.2181,
                "offsides": 0.1323,
                "ball_carries": 9.6969,
                "total_progression": 24.0074,
                "progressive_carries": 1.3081,
                "shots_off_target": 1.4018
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.4241,
                  "totalOppositionHalfPasses": 7.79,
                  "accurateOppositionHalfPasses": 5.0587,
                  "accuratePass": 8.9582,
                  "totalShots": 2.2322
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.35570845007896423,
                    "model_output": 0.3557,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0613
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0466
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0297
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0197
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.015
                        }
                      ],
                      "others": 0.0238,
                      "total": 0.3557,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.268496
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1646
                        },
                        {
                          "name": "goals",
                          "margin": 0.092367
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.060359
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.046368
                        }
                      ],
                      "others_margin": 0.069563
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.35582342743873596,
                    "model_output": 0.3558,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0663
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.051
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0305
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0268
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0148
                        }
                      ],
                      "others": 0.0459,
                      "total": 0.3558,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.281605
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.172997
                        },
                        {
                          "name": "goals",
                          "margin": 0.090744
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.079258
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.046617
                        }
                      ],
                      "others_margin": 0.138071
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9117887020111084,
                    "model_output": 0.9118,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1838
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0586
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0553
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0586
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0532
                        }
                      ],
                      "others": 0.0717,
                      "total": 0.9118,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.294304
                        },
                        {
                          "name": "goals",
                          "margin": 0.0782
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.068586
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.06787
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.06137
                        }
                      ],
                      "others_margin": 0.081857
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.3135833740234375,
                    "model_output": 2.3136,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5381
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.21
                        },
                        {
                          "name": "goals",
                          "contribution": 0.096
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0934
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0565
                        }
                      ],
                      "others": 0.0539,
                      "total": 2.3136,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.538139
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.210001
                        },
                        {
                          "name": "goals",
                          "margin": 0.095968
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.093438
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056532
                        }
                      ],
                      "others_margin": 0.053863
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05857155844569206,
                    "model_output": 0.0586,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0189
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0085
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.006
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0586,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.25747
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.107158
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.083009
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.072243
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.067986
                        }
                      ],
                      "others_margin": -0.16461
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6589452028274536,
                    "model_output": 0.6589,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2208
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0624
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0505
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0304
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0215
                        }
                      ],
                      "others": -0.0711,
                      "total": 0.6589,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.283349
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.072301
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.062653
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.039656
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.029014
                        }
                      ],
                      "others_margin": -0.10228
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.95627498626709,
                    "model_output": 6.9563,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0764
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0556
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0271
                        },
                        {
                          "name": "wasFouled",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0126
                        }
                      ],
                      "others": 0.0328,
                      "total": 6.9563,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.076405
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.055643
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.027143
                        },
                        {
                          "name": "wasFouled",
                          "margin": 0.014797
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012571
                        }
                      ],
                      "others_margin": 0.032697
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9995, quality 0.491)",
              "stats": {
                "expected_goals": 0.3555,
                "goals": 0.3556,
                "goal_rate": 0.3556,
                "shots_on_target": 0.9113,
                "total_shots": 2.3124,
                "expected_assists": 0.0585,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5163,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0446,
                "fouls_drawn": 1.8472,
                "assists": 0.0058,
                "assist_rate": 0.0058,
                "interceptions": 0.2289,
                "tackles_won": 0.422,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.5186,
                "xgot": 0.218,
                "offsides": 0.1322,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.4011
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915,
                "boost_factor": 0.9995,
                "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.0126)",
              "stats": {
                "expected_goals": 0.3555,
                "goals": 0.3511,
                "goal_rate": 0.3511,
                "shots_on_target": 0.9081,
                "total_shots": 2.3202,
                "expected_assists": 0.0585,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assists": 0.0057,
                "assist_rate": 0.0057,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.5186,
                "xgot": 0.218,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.4011
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8069,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3124,
                  "after": 2.3202
                },
                {
                  "stat": "wasFouled",
                  "before": 1.8472,
                  "after": 1.8402
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3555,
                "goals": 0.3511,
                "goal_rate": 0.3511,
                "shots_on_target": 0.9081,
                "total_shots": 2.3202,
                "expected_assists": 0.0585,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assists": 0.0057,
                "assist_rate": 0.0057,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.5186,
                "xgot": 0.218,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.4011
              },
              "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.3228,
                "goals": 0.3188,
                "goal_rate": 0.3188,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0585,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assists": 0.0057,
                "assist_rate": 0.0057,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1979,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Gómez",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.417,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.908,
                  "skill_edge": -0.0666,
                  "height_edge": 0.004,
                  "attacker_skill": 0.4915,
                  "defender_skill": 0.6394,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Sergio Gómez",
                      "market_value": 14600000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.6394
                    }
                  ],
                  "xg_override": 0.3228
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3202,
                  "after": 2.1067
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4011,
                  "after": 1.2722
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9081,
                  "after": 0.8246
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.5186,
                  "after": 0.4709
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3555,
                  "after": 0.3228
                },
                {
                  "stat": "goals",
                  "before": 0.3511,
                  "after": 0.3188
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.218,
                  "after": 0.1979
                }
              ]
            },
            {
              "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.3228,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0585,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assist_rate": 0.0057,
                "assists": 0,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1979,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3054,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0659,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assist_rate": 0.0057,
                "assists": 0,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1872,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9893,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3228,
                  "after": 0.3054
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0585,
                  "after": 0.0659
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.3054,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0659,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assist_rate": 0.0057,
                "assists": 0,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1872,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9893,
                "creation_factor": 0.8,
                "fifa_overall": 75.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": 3447,
                "fifa_rank": 2411.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": {
                "expected_goals": 0.3054,
                "goal_rate": 0.3188,
                "goals": 1,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0659,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assist_rate": 0.0057,
                "assists": 0,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1872,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2632,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9893,
                "creation_factor": 0.8,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2632,
                "goal_rate": 0.3188,
                "scorer_weight": 0.3021,
                "squad_weight_total": 1.0647,
                "weight_share": 0.2838,
                "finishing_factor": 0.9893,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.3054,
                "goal_rate": 0.3188,
                "goals": 1,
                "shots_on_target": 0.8246,
                "total_shots": 2.1067,
                "expected_assists": 0.0659,
                "key_pass": 0.6586,
                "rating": 6.9563,
                "minutes": 72.62,
                "total_pass": 15.3312,
                "accurate_pass": 11.2636,
                "duels_won": 5.1109,
                "total_long_balls": 0.6084,
                "accurate_long_balls": 0.4133,
                "total_opp_half_passes": 9.8096,
                "accurate_opp_half_passes": 6.508,
                "crosses_total": 0.5139,
                "crosses_accurate": 0.0403,
                "touches": 30.7907,
                "possession_lost": 10.2459,
                "dispossessed": 1.3155,
                "duels_lost": 5.9469,
                "aerial_lost": 1.7257,
                "total_contest": 2.0592,
                "won_contest": 0.9756,
                "ball_recovery": 2.6649,
                "challenges_lost": 0.9168,
                "fouls": 1.0436,
                "fouls_drawn": 1.8402,
                "assist_rate": 0.0057,
                "assists": 0,
                "interceptions": 0.226,
                "tackles_won": 0.4248,
                "tackles": 1.2046,
                "clearances": 0.3586,
                "blocks": 0.0068,
                "big_chances_created": 0.1949,
                "big_chances_missed": 0.4709,
                "xgot": 0.1872,
                "offsides": 0.1346,
                "ball_carries": 9.6921,
                "total_progression": 23.9954,
                "progressive_carries": 1.3074,
                "shots_off_target": 1.2722,
                "duel_xg_multiplier": 0.908,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.417,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergio Gómez",
                "opponent_faced": "Sergio Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2632,
                "projected_assists": 0,
                "assist_probability": 0.0638,
                "finishing_factor": 0.9893,
                "creation_factor": 0.8,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0638,
                "assist_rate": 0.0057,
                "provider_weight": 0.0527,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0791,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Víctor García": {
          "player_id": 952222,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 17,
          "height": 177,
          "market_value": 1500000,
          "stats": {
            "expected_goals": 0.1014,
            "goal_rate": 0.0969,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0916,
            "key_pass": 1,
            "rating": 6.7319,
            "minutes": 75,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 9,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 34,
            "possession_lost": 10.2572,
            "dispossessed": 1.2621,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1988,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7479,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.8,
            "aerial_won": 1,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.309,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jon Martin",
            "opponent_faced": "Jon Martin",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0964,
            "projected_assists": 0,
            "assist_probability": 0.0875,
            "finishing_factor": 0.9345,
            "creation_factor": 0.8,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 56,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1021,
                "expected_assists": 0.0448,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2937,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1515,
                "expected_assists": 0.0912,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "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"
            },
            {
              "match_id": 14083613,
              "match_date": "2026-05-12",
              "home_team": "Celta Vigo",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0469,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 8.5,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.842,
                "expected_assists": 0.0526,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 86,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2315,
                "expected_assists": 0.0088,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4403,
            "combined_rank_score": 2427.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 603.0,
            "sofascore_rating": 6.781,
            "sofascore_appearances": 21.0,
            "fifa_rank": 4252.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7319,
            "source_file": "data/player_rankings.csv",
            "player_name": "Víctor García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Martim Neto",
                  "ranking": 4398
                },
                {
                  "player_name": "Embarba",
                  "ranking": 4399
                },
                {
                  "player_name": "Justo Giani",
                  "ranking": 4400
                },
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                }
              ],
              "lower": [
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                },
                {
                  "player_name": "Nathan-Dylan Saliba",
                  "ranking": 4406
                },
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 26,
          "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": 26,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9967,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 107.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "XGBoost regressor (F_service) evaluated 26 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.08, 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.1438,
                "goals": 0.131,
                "goal_rate": 0.131,
                "shots_on_target": 0.4436,
                "total_shots": 1.2541,
                "expected_assists": 0.0815,
                "key_pass": 0.8416,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4926,
                "accurate_pass": 14.7419,
                "duels_won": 3.3481,
                "total_long_balls": 1.3644,
                "accurate_long_balls": 0.5166,
                "total_opp_half_passes": 11.3019,
                "accurate_opp_half_passes": 9.2334,
                "crosses_total": 4.4296,
                "crosses_accurate": 1.0259,
                "touches": 33.9971,
                "possession_lost": 10.2912,
                "dispossessed": 1.2663,
                "duels_lost": 4.7194,
                "aerial_lost": 1.1568,
                "total_contest": 1.4852,
                "won_contest": 0.6237,
                "ball_recovery": 3.1155,
                "challenges_lost": 0.638,
                "fouls": 0.8686,
                "fouls_drawn": 1.0439,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3986,
                "tackles_won": 0.8962,
                "tackles": 1.1796,
                "clearances": 0.6663,
                "blocks": 0.3286,
                "big_chances_created": 0.2271,
                "big_chances_missed": 0.2748,
                "xgot": 0.282,
                "offsides": 0.1661,
                "ball_carries": 10.772,
                "total_progression": 25.2413,
                "progressive_carries": 1.2168,
                "shots_off_target": 0.8105
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.1522,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1294,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.11,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0935,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0795,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Espanyol",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Sevilla",
                    "minutes": 48.0,
                    "is_starting": false,
                    "weight": 0.0415,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-13",
                    "opponent": "Getafe",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0353,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0976,
                  "totalOppositionHalfPasses": 8.4491,
                  "accurateOppositionHalfPasses": 6.6289,
                  "accuratePass": 10.4371,
                  "totalShots": 0.6893
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14376328885555267,
                    "model_output": 0.1438,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0724
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0525
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0132
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0092
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0459,
                      "total": 0.1438,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.310343
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.214884
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.062212
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.045575
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.035074
                        }
                      ],
                      "others_margin": -0.277506
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13100074231624603,
                    "model_output": 0.131,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0681
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0441
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.022
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0182
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0425,
                      "total": 0.131,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288357
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.176999
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.101662
                        },
                        {
                          "name": "goals",
                          "margin": -0.092381
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.077688
                        }
                      ],
                      "others_margin": -0.281315
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4436127543449402,
                    "model_output": 0.4436,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1834
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0589
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0462
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0342
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.1104,
                      "total": 0.4436,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.293828
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.085241
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.072346
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.057108
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.047789
                        }
                      ],
                      "others_margin": -0.222352
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2541120052337646,
                    "model_output": 1.2541,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4094
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2011
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0621
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0527
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0513
                        }
                      ],
                      "others": -0.1668,
                      "total": 1.2541,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.409369
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.201131
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.062123
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.05267
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.051314
                        }
                      ],
                      "others_margin": -0.166725
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08152630925178528,
                    "model_output": 0.0815,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0124
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0098
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0072
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0003,
                      "total": 0.0815,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.176763
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.120448
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.086651
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.069452
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.038863
                        }
                      ],
                      "others_margin": -0.003522
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8415771722793579,
                    "model_output": 0.8416,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2015
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0538
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0309
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0281
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0235
                        }
                      ],
                      "others": 0.0462,
                      "total": 0.8416,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.261615
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.063373
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.038348
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034955
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.029152
                        }
                      ],
                      "others_margin": 0.056385
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.731923580169678,
                    "model_output": 6.7319,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0457
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0182
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0148
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0141
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.0453,
                      "total": 6.7319,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.045688
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.018192
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.01481
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.01411
                        },
                        {
                          "name": "rating",
                          "margin": -0.013202
                        }
                      ],
                      "others_margin": -0.045234
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9967, quality 0.437)",
              "stats": {
                "expected_goals": 0.1433,
                "goals": 0.1306,
                "goal_rate": 0.1306,
                "shots_on_target": 0.4421,
                "total_shots": 1.25,
                "expected_assists": 0.0813,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.415,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8657,
                "fouls_drawn": 1.0405,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3973,
                "tackles_won": 0.8932,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2739,
                "xgot": 0.2811,
                "offsides": 0.1656,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.8078
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9967,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0084)",
              "stats": {
                "expected_goals": 0.1433,
                "goals": 0.1295,
                "goal_rate": 0.1295,
                "shots_on_target": 0.4384,
                "total_shots": 1.2395,
                "expected_assists": 0.0813,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2739,
                "xgot": 0.2811,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.8078
              },
              "params": {
                "blend_weight": 0.0084,
                "history_matches": 26,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8342,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.25,
                  "after": 1.2395
                },
                {
                  "stat": "totalCross",
                  "before": 4.415,
                  "after": 4.4071
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1433,
                "goals": 0.1295,
                "goal_rate": 0.1295,
                "shots_on_target": 0.4384,
                "total_shots": 1.2462,
                "expected_assists": 0.0813,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2739,
                "xgot": 0.2811,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.8078
              },
              "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.1072,
                "goals": 0.0969,
                "goal_rate": 0.0969,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0813,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.2102,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Martin",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.309,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7479,
                  "skill_edge": -0.1395,
                  "height_edge": -0.032,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.7474,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jon Martin",
                      "market_value": 24000000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.7474
                    }
                  ],
                  "xg_override": 0.1072
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2462,
                  "after": 0.9321
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8078,
                  "after": 0.6042
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4384,
                  "after": 0.3279
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2811,
                  "after": 0.2102
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2739,
                  "after": 0.2048
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1433,
                  "after": 0.1072
                },
                {
                  "stat": "goals",
                  "before": 0.1295,
                  "after": 0.0969
                }
              ]
            },
            {
              "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.1072,
                "goal_rate": 0.0969,
                "goals": 0,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0813,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.2102,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1014,
                "goal_rate": 0.0969,
                "goals": 0,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0916,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.1988,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9345,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1072,
                  "after": 0.1014
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0813,
                  "after": 0.0916
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.1014,
                "goal_rate": 0.0969,
                "goals": 0,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0916,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.1988,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9345,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4403,
                "fifa_rank": 4252.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1014,
                "goal_rate": 0.0969,
                "goals": 0,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0916,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.1988,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0964,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9345,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0964,
                "goal_rate": 0.0969,
                "scorer_weight": 0.0948,
                "squad_weight_total": 1.0647,
                "weight_share": 0.089,
                "finishing_factor": 0.9345,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.1014,
                "goal_rate": 0.0969,
                "goals": 0,
                "shots_on_target": 0.3279,
                "total_shots": 0.9321,
                "expected_assists": 0.0916,
                "key_pass": 0.8388,
                "rating": 6.7319,
                "minutes": 75.08,
                "total_pass": 17.4349,
                "accurate_pass": 14.6933,
                "duels_won": 3.3371,
                "total_long_balls": 1.3599,
                "accurate_long_balls": 0.5149,
                "total_opp_half_passes": 11.2646,
                "accurate_opp_half_passes": 9.2029,
                "crosses_total": 4.4071,
                "crosses_accurate": 1.0225,
                "touches": 33.8849,
                "possession_lost": 10.2572,
                "dispossessed": 1.2621,
                "duels_lost": 4.7038,
                "aerial_lost": 1.153,
                "total_contest": 1.4803,
                "won_contest": 0.6216,
                "ball_recovery": 3.1052,
                "challenges_lost": 0.6359,
                "fouls": 0.8701,
                "fouls_drawn": 1.0376,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3998,
                "tackles_won": 0.8915,
                "tackles": 1.1757,
                "clearances": 0.6641,
                "blocks": 0.3275,
                "big_chances_created": 0.2264,
                "big_chances_missed": 0.2048,
                "xgot": 0.1988,
                "offsides": 0.1642,
                "ball_carries": 10.7365,
                "total_progression": 25.158,
                "progressive_carries": 1.2128,
                "shots_off_target": 0.6042,
                "duel_xg_multiplier": 0.7479,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "aerial_won": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.309,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Martin",
                "opponent_faced": "Jon Martin",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0964,
                "projected_assists": 0,
                "assist_probability": 0.0875,
                "finishing_factor": 0.9345,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0875,
                "assist_rate": 0.0,
                "provider_weight": 0.0733,
                "squad_weight_total": 0.6667,
                "weight_share": 0.1099,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Daniel Requena": {
          "player_id": 1521658,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 186,
          "market_value": 1500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0347,
            "assist_rate": 0.0296,
            "assists": 0,
            "expected_goals": 0.0461,
            "goal_rate": 0.0481,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6761,
            "minutes": 87,
            "total_pass": 10,
            "accurate_pass": 9,
            "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": 4,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 1.9084,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 18,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9713,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.4,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Beñat Turrientes",
            "opponent_faced": "Beñat Turrientes",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0451,
            "projected_assists": 0,
            "assist_probability": 0.0341,
            "finishing_factor": 0.9939,
            "creation_factor": 0.9851,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.6,
                "expected_assists": 0.027,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 22,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0173,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 18,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0324,
                "expected_assists": 0.0039,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "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": 343,
            "combined_rank_score": 220.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 215.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6761,
            "source_file": "data/player_rankings.csv",
            "player_name": "Daniel Requena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Steven Benda",
                  "ranking": 338
                },
                {
                  "player_name": "Iker Monreal Agundez",
                  "ranking": 339
                },
                {
                  "player_name": "Exequiel Palacios",
                  "ranking": 340
                },
                {
                  "player_name": "Manuel Locatelli",
                  "ranking": 341
                },
                {
                  "player_name": "Zafarmurod Abdurakhmatov",
                  "ranking": 342
                }
              ],
              "lower": [
                {
                  "player_name": "Lee Jong-Eon",
                  "ranking": 344
                },
                {
                  "player_name": "Julian Ryerson",
                  "ranking": 345
                },
                {
                  "player_name": "Nicolás Ramírez",
                  "ranking": 346
                },
                {
                  "player_name": "Islombek Mamatkazin",
                  "ranking": 347
                },
                {
                  "player_name": "Urinboev Zabikhillo",
                  "ranking": 348
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "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.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9873,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.00, 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.4803,
                "expected_assists": 0.0312,
                "assists": 0.0299,
                "assist_rate": 0.0299,
                "expected_goals": 0.0507,
                "goals": 0.0501,
                "goal_rate": 0.0501,
                "shots_on_target": 0.1894,
                "total_shots": 0.7019,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.8348,
                "accurate_pass": 9.5044,
                "duels_won": 1.9329,
                "total_long_balls": 0.7191,
                "accurate_long_balls": 0.7191,
                "total_own_half_passes": 5.8503,
                "accurate_own_half_passes": 5.5199,
                "total_opp_half_passes": 3.9845,
                "accurate_opp_half_passes": 3.9845,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.9728,
                "possession_lost": 1.9329,
                "dispossessed": 0.0,
                "duels_lost": 3.6433,
                "aerial_won": 0.0,
                "aerial_lost": 0.3304,
                "interceptions": 0.0,
                "tackles_won": 0.9913,
                "tackles": 0.9913,
                "clearances": 0.2809,
                "total_contest": 1.3217,
                "won_contest": 0.3304,
                "challenges_lost": 0.6696,
                "fouls": 1.6521,
                "fouls_drawn": 0.6113,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5462,
                "total_progression": 18.272,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5125
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3304,
                  "creative_index": 0.0018,
                  "expectedGoals": 0.0107,
                  "expectedAssists": 0.003,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.48033788800239563,
                    "model_output": 0.4803,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1429
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1402
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1034
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0843
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0301
                        }
                      ],
                      "others": -0.1908,
                      "total": 0.4803,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.149508
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.146403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.123687
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.113454
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.043904
                        }
                      ],
                      "others_margin": -0.334511
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03117034211754799,
                    "model_output": 0.0312,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0204
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0142
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0073
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0168,
                      "total": 0.0312,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.270949
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.244555
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.154105
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.14944
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.060658
                        }
                      ],
                      "others_margin": -0.431413
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02994222566485405,
                    "model_output": 0.0299,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0216
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0097
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0071
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0038
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0165,
                      "total": 0.0299,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.291998
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.164824
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.140019
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.085571
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.076452
                        }
                      ],
                      "others_margin": -0.44012
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05070306733250618,
                    "model_output": 0.0507,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0308
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0126
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0073
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0065
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.0507,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.395025
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.219908
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.15331
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138326
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.082411
                        }
                      ],
                      "others_margin": -0.074347
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.050111059099435806,
                    "model_output": 0.0501,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0253
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0137
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0055,
                      "total": 0.0501,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.300088
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.210241
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112549
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105361
                        },
                        {
                          "name": "goals",
                          "margin": -0.059835
                        }
                      ],
                      "others_margin": -0.104124
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18937550485134125,
                    "model_output": 0.1894,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0912
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0499
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.031
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0166
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0121
                        }
                      ],
                      "others": 0.0088,
                      "total": 0.1894,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.330457
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.241153
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.185939
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103426
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.069481
                        }
                      ],
                      "others_margin": 0.047657
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.701870322227478,
                    "model_output": 0.7019,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2483
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1225
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0741
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0465
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0399
                        }
                      ],
                      "others": -0.0023,
                      "total": 0.7019,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.24826
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122546
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.074096
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.046549
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.039949
                        }
                      ],
                      "others_margin": -0.002286
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6760711669921875,
                    "model_output": 6.6761,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0604
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0391
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0254
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0216
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0187
                        }
                      ],
                      "others": -0.045,
                      "total": 6.6761,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.060441
                        },
                        {
                          "name": "rating",
                          "margin": -0.039149
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.025361
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.021618
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.018741
                        }
                      ],
                      "others_margin": -0.04497
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "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": {
                "key_pass": 0.4742,
                "expected_assists": 0.0308,
                "assists": 0.0296,
                "assist_rate": 0.0296,
                "expected_goals": 0.0501,
                "goals": 0.0495,
                "goal_rate": 0.0495,
                "shots_on_target": 0.187,
                "total_shots": 0.693,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 0.0,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.506
              },
              "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": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4742,
                "expected_assists": 0.0308,
                "assists": 0.0296,
                "assist_rate": 0.0296,
                "expected_goals": 0.0501,
                "goals": 0.0495,
                "goal_rate": 0.0495,
                "shots_on_target": 0.187,
                "total_shots": 0.693,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 0.0,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.506
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 0.4742,
                "expected_assists": 0.0308,
                "assists": 0.0296,
                "assist_rate": 0.0296,
                "expected_goals": 0.0487,
                "goals": 0.0481,
                "goal_rate": 0.0481,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Beñat Turrientes",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.4,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9713,
                  "skill_edge": -0.0476,
                  "height_edge": 0.028,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5431,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Beñat Turrientes",
                      "market_value": 10600000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.5431
                    }
                  ],
                  "xg_override": 0.0487
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.693,
                  "after": 0.6731
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.506,
                  "after": 0.4915
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.187,
                  "after": 0.1816
                }
              ]
            },
            {
              "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.4742,
                "expected_assists": 0.0308,
                "assist_rate": 0.0296,
                "assists": 0,
                "expected_goals": 0.0487,
                "goal_rate": 0.0481,
                "goals": 0,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.4742,
                "expected_assists": 0.0347,
                "assist_rate": 0.0296,
                "assists": 0,
                "expected_goals": 0.0461,
                "goal_rate": 0.0481,
                "goals": 0,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9939,
                "creation_factor": 0.9851
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0.4742,
                "expected_assists": 0.0347,
                "assist_rate": 0.0296,
                "assists": 0,
                "expected_goals": 0.0461,
                "goal_rate": 0.0481,
                "goals": 0,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9939,
                "creation_factor": 0.9851,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 343,
                "fifa_rank": 215.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.4742,
                "expected_assists": 0.0347,
                "assist_rate": 0.0296,
                "assists": 0,
                "expected_goals": 0.0461,
                "goal_rate": 0.0481,
                "goals": 0,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0451,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9939,
                "creation_factor": 0.9851,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0451,
                "goal_rate": 0.0481,
                "scorer_weight": 0.0458,
                "squad_weight_total": 1.0647,
                "weight_share": 0.043,
                "finishing_factor": 0.9939,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.4742,
                "expected_assists": 0.0347,
                "assist_rate": 0.0296,
                "assists": 0,
                "expected_goals": 0.0461,
                "goal_rate": 0.0481,
                "goals": 0,
                "shots_on_target": 0.1816,
                "total_shots": 0.6731,
                "rating": 6.6761,
                "minutes": 87.33,
                "total_pass": 9.7099,
                "accurate_pass": 9.3837,
                "duels_won": 1.9084,
                "total_long_balls": 0.71,
                "accurate_long_balls": 0.71,
                "total_own_half_passes": 5.776,
                "accurate_own_half_passes": 5.4498,
                "total_opp_half_passes": 3.9339,
                "accurate_opp_half_passes": 3.9339,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 14.7826,
                "possession_lost": 1.9084,
                "dispossessed": 0.0,
                "duels_lost": 3.597,
                "aerial_won": 1.2,
                "aerial_lost": 0.3262,
                "interceptions": 0.0,
                "tackles_won": 0.9787,
                "tackles": 0.9787,
                "clearances": 0.2773,
                "total_contest": 1.3049,
                "won_contest": 0.3262,
                "challenges_lost": 0.6611,
                "fouls": 1.6311,
                "fouls_drawn": 0.6035,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.5012,
                "total_progression": 18.0399,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4915,
                "duel_xg_multiplier": 0.9713,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.4,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0451,
                "projected_assists": 0,
                "assist_probability": 0.0341,
                "finishing_factor": 0.9939,
                "creation_factor": 0.9851,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0341,
                "assist_rate": 0.0296,
                "provider_weight": 0.0342,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0513,
                "creation_factor": 0.9851,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Oriol Rey": {
          "player_id": 859769,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 175,
          "market_value": 1700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.043,
            "assist_rate": 0.0479,
            "assists": 0,
            "expected_goals": 0.0333,
            "goal_rate": 0.0348,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7995,
            "minutes": 86,
            "total_pass": 36,
            "accurate_pass": 32,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 5.7615,
            "dispossessed": 0.638,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 2,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 40,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9066,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.336,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Beñat Turrientes",
            "opponent_faced": "Beñat Turrientes",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0328,
            "projected_assists": 0,
            "assist_probability": 0.0421,
            "finishing_factor": 0.9953,
            "creation_factor": 1.11,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.5,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "clearances": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 34,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 84,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 29,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0284,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 9,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.0081,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0186,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 32,
                "tackles": 1,
                "tackles_won": 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"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0132,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 24,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 23,
                "interceptions": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4110,
            "combined_rank_score": 2102.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 20.0,
            "fifa_rank": 3507.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7995,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oriol Rey",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Agustín Sández",
                  "ranking": 4105
                },
                {
                  "player_name": "Axel Tuanzebe",
                  "ranking": 4106
                },
                {
                  "player_name": "Abdoul Ouattara",
                  "ranking": 4107
                },
                {
                  "player_name": "Liam Millar",
                  "ranking": 4108
                },
                {
                  "player_name": "Cristian Olivera",
                  "ranking": 4109
                }
              ],
              "lower": [
                {
                  "player_name": "Aihen Muñoz",
                  "ranking": 4111
                },
                {
                  "player_name": "David Carmo",
                  "ranking": 4112
                },
                {
                  "player_name": "Joel Roca",
                  "ranking": 4113
                },
                {
                  "player_name": "Nikola Katić",
                  "ranking": 4114
                },
                {
                  "player_name": "Albert Grønbæk",
                  "ranking": 4115
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 26,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 26,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9967,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 269.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 26 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5305,
                "expected_assists": 0.0383,
                "assists": 0.0491,
                "assist_rate": 0.0491,
                "expected_goals": 0.0389,
                "goals": 0.0393,
                "goal_rate": 0.0393,
                "shots_on_target": 0.1522,
                "total_shots": 0.6084,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.8702,
                "accurate_pass": 32.2515,
                "duels_won": 3.3092,
                "total_long_balls": 2.2172,
                "accurate_long_balls": 1.3249,
                "total_own_half_passes": 15.1969,
                "accurate_own_half_passes": 14.1567,
                "total_opp_half_passes": 20.6733,
                "accurate_opp_half_passes": 18.0948,
                "crosses_total": 0.2461,
                "crosses_accurate": 0.0638,
                "touches": 47.2824,
                "possession_lost": 5.7806,
                "dispossessed": 0.6401,
                "duels_lost": 4.0736,
                "aerial_won": 1.1898,
                "aerial_lost": 0.8972,
                "interceptions": 0.6332,
                "tackles_won": 0.7546,
                "tackles": 1.3315,
                "clearances": 2.0662,
                "total_contest": 0.4248,
                "won_contest": 0.0137,
                "challenges_lost": 0.7374,
                "fouls": 1.5014,
                "fouls_drawn": 0.7742,
                "blocks": 0.6525,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.9007,
                "total_progression": 40.4058,
                "progressive_carries": 0.3097,
                "shots_off_target": 0.4562
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1522,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1294,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0795,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0574,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Real Sociedad",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Real Oviedo",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0353,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2891,
                  "creative_index": 0.1619,
                  "expectedGoals": 0.0114,
                  "expectedAssists": 0.0194,
                  "onTargetScoringAttempt": 0.0082
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5304820537567139,
                    "model_output": 0.5305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1323
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.122
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0939
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0826
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0332
                        }
                      ],
                      "others": -0.1563,
                      "total": 0.5305,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139168
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.127544
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.110675
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.108659
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.047226
                        }
                      ],
                      "others_margin": -0.258217
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03832376375794411,
                    "model_output": 0.0383,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0178
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0139
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0034
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0167,
                      "total": 0.0383,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.233012
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.22899
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127124
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.056232
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.053892
                        }
                      ],
                      "others_margin": -0.360637
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04911099374294281,
                    "model_output": 0.0491,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0125
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0054
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.0491,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.158978
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109847
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102954
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077376
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.058692
                        }
                      ],
                      "others_margin": -0.249328
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03892296925187111,
                    "model_output": 0.0389,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0389,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.462113
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.182902
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.155139
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.100271
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.064491
                        }
                      ],
                      "others_margin": -0.231615
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03934095799922943,
                    "model_output": 0.0393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.029
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0149
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0393,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.352652
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.244485
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112599
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.09708
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.081956
                        }
                      ],
                      "others_margin": -0.245502
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.15216732025146484,
                    "model_output": 0.1522,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0897
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0448
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0179
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0354,
                      "total": 0.1522,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.324126
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.212025
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.137301
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.085856
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.06161
                        }
                      ],
                      "others_margin": -0.209419
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.608340322971344,
                    "model_output": 0.6083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2667
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1205
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0541
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0519
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0404
                        }
                      ],
                      "others": -0.0896,
                      "total": 0.6083,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.266655
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12051
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.054146
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051875
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.040448
                        }
                      ],
                      "others_margin": -0.08951
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.799530982971191,
                    "model_output": 6.7995,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0287
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0244
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0163
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0069
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0067
                        }
                      ],
                      "others": -0.0372,
                      "total": 6.7995,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.028705
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.024364
                        },
                        {
                          "name": "rating",
                          "margin": -0.016259
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.00686
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.006667
                        }
                      ],
                      "others_margin": -0.037228
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 19,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9967, quality 0.437)",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.0382,
                "assists": 0.0489,
                "assist_rate": 0.0489,
                "expected_goals": 0.0388,
                "goals": 0.0392,
                "goal_rate": 0.0392,
                "shots_on_target": 0.1517,
                "total_shots": 0.6064,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2453,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 1.1859,
                "aerial_lost": 0.8942,
                "interceptions": 0.6311,
                "tackles_won": 0.7521,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4964,
                "fouls_drawn": 0.7716,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4547
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9967,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0210)",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.0382,
                "assists": 0.0479,
                "assist_rate": 0.0479,
                "expected_goals": 0.0388,
                "goals": 0.0384,
                "goal_rate": 0.0384,
                "shots_on_target": 0.1485,
                "total_shots": 0.5937,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 1.1859,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4547
              },
              "params": {
                "blend_weight": 0.021,
                "history_matches": 26,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9543,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.6064,
                  "after": 0.5937
                },
                {
                  "stat": "wasFouled",
                  "before": 0.7716,
                  "after": 0.7621
                },
                {
                  "stat": "totalCross",
                  "before": 0.2453,
                  "after": 0.2402
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.0382,
                "assists": 0.0479,
                "assist_rate": 0.0479,
                "expected_goals": 0.0388,
                "goals": 0.0384,
                "goal_rate": 0.0384,
                "shots_on_target": 0.1485,
                "total_shots": 0.6032,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 1.1859,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4547
              },
              "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.5287,
                "expected_assists": 0.0382,
                "assists": 0.0479,
                "assist_rate": 0.0479,
                "expected_goals": 0.0352,
                "goals": 0.0348,
                "goal_rate": 0.0348,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Beñat Turrientes",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.336,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9066,
                  "skill_edge": -0.0476,
                  "height_edge": -0.016,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5431,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Beñat Turrientes",
                      "market_value": 10600000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.5431
                    }
                  ],
                  "xg_override": 0.0352
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.1859,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.6032,
                  "after": 0.5469
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4547,
                  "after": 0.4122
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1485,
                  "after": 0.1346
                }
              ]
            },
            {
              "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.5287,
                "expected_assists": 0.0382,
                "assist_rate": 0.0479,
                "assists": 0,
                "expected_goals": 0.0352,
                "goal_rate": 0.0348,
                "goals": 0,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.043,
                "assist_rate": 0.0479,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0348,
                "goals": 0,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9953,
                "creation_factor": 1.11
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.043,
                "assist_rate": 0.0479,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0348,
                "goals": 0,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9953,
                "creation_factor": 1.11,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4110,
                "fifa_rank": 3507.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5287,
                "expected_assists": 0.043,
                "assist_rate": 0.0479,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0348,
                "goals": 0,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0328,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9953,
                "creation_factor": 1.11,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0328,
                "goal_rate": 0.0348,
                "scorer_weight": 0.0331,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0311,
                "finishing_factor": 0.9953,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.5287,
                "expected_assists": 0.043,
                "assist_rate": 0.0479,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0348,
                "goals": 0,
                "shots_on_target": 0.1346,
                "total_shots": 0.5469,
                "rating": 6.7995,
                "minutes": 85.89,
                "total_pass": 35.7518,
                "accurate_pass": 32.1451,
                "duels_won": 3.2983,
                "total_long_balls": 2.2099,
                "accurate_long_balls": 1.3205,
                "total_own_half_passes": 15.1468,
                "accurate_own_half_passes": 14.11,
                "total_opp_half_passes": 20.6051,
                "accurate_opp_half_passes": 18.0351,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0636,
                "touches": 47.1264,
                "possession_lost": 5.7615,
                "dispossessed": 0.638,
                "duels_lost": 4.0602,
                "aerial_won": 0.9,
                "aerial_lost": 0.8942,
                "interceptions": 0.6312,
                "tackles_won": 0.7497,
                "tackles": 1.3271,
                "clearances": 2.0594,
                "total_contest": 0.4234,
                "won_contest": 0.0137,
                "challenges_lost": 0.735,
                "fouls": 1.4984,
                "fouls_drawn": 0.7621,
                "blocks": 0.6503,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.8581,
                "total_progression": 40.2725,
                "progressive_carries": 0.3087,
                "shots_off_target": 0.4122,
                "duel_xg_multiplier": 0.9066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.336,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0328,
                "projected_assists": 0,
                "assist_probability": 0.0421,
                "finishing_factor": 0.9953,
                "creation_factor": 1.11,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0421,
                "assist_rate": 0.0479,
                "provider_weight": 0.0477,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0716,
                "creation_factor": 1.11,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jon Ander Olasagasti": {
          "player_id": 1010383,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 176,
          "market_value": 2700000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1463,
            "assist_rate": 0.1509,
            "assists": 1,
            "expected_goals": 0.1108,
            "goal_rate": 0.1399,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8597,
            "minutes": 84,
            "total_pass": 29,
            "accurate_pass": 20,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 11,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 46,
            "possession_lost": 16.2591,
            "dispossessed": 0.7718,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1678,
            "ball_carries": 10,
            "total_progression": 41,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9125,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.36,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Beñat Turrientes",
            "opponent_faced": "Beñat Turrientes",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1049,
            "projected_assists": 1,
            "assist_probability": 0.1361,
            "finishing_factor": 1.1358,
            "creation_factor": 1.1161,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 89,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0413,
                "expected_assists": 0.1096,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0854,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 59,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0149,
                "expected_assists": 0.049,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 10,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 86,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1046,
                "expected_assists": 0.0719,
                "total_shots": 1,
                "total_pass": 28,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.4022,
                "expected_assists": 0.2223,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 36,
                "accurate_pass": 26,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.3266,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 28,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 3,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 12,
                "tackles": 2,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 78,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5572,
                "expected_assists": 0.1179,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 89,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3122,
                "expected_assists": 0.1262,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 7,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 320,
            "combined_rank_score": 210.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 203.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8597,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Ander Olasagasti",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Juan Musso",
                  "ranking": 315
                },
                {
                  "player_name": "Ju-kong Kim",
                  "ranking": 316
                },
                {
                  "player_name": "Jae-yong Bak",
                  "ranking": 317
                },
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                }
              ],
              "lower": [
                {
                  "player_name": "Mario Rivas",
                  "ranking": 321
                },
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                },
                {
                  "player_name": "Unai Simón",
                  "ranking": 323
                },
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.5161,
                "expected_assists": 0.1303,
                "assists": 0.1512,
                "assist_rate": 0.1512,
                "expected_goals": 0.1287,
                "goals": 0.1537,
                "goal_rate": 0.1537,
                "shots_on_target": 0.4672,
                "total_shots": 1.263,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.937,
                "accurate_pass": 19.7557,
                "duels_won": 4.7282,
                "total_long_balls": 3.7274,
                "accurate_long_balls": 1.2108,
                "total_own_half_passes": 10.1414,
                "accurate_own_half_passes": 8.5391,
                "total_opp_half_passes": 18.7956,
                "accurate_opp_half_passes": 11.2166,
                "crosses_total": 4.7313,
                "crosses_accurate": 0.9894,
                "touches": 46.0487,
                "possession_lost": 16.2966,
                "dispossessed": 0.7736,
                "duels_lost": 4.3216,
                "aerial_won": 0.7281,
                "aerial_lost": 1.2957,
                "interceptions": 0.6679,
                "tackles_won": 1.2355,
                "tackles": 1.9297,
                "clearances": 0.6792,
                "total_contest": 1.4469,
                "won_contest": 0.7537,
                "challenges_lost": 0.8334,
                "fouls": 0.7514,
                "fouls_drawn": 1.3168,
                "blocks": 0.1883,
                "big_chances_created": 0.3993,
                "big_chances_missed": 0.0955,
                "xgot": 0.1948,
                "ball_carries": 10.1559,
                "total_progression": 41.5349,
                "progressive_carries": 1.2873,
                "shots_off_target": 0.7958
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0711,
                  "creative_index": 0.8215,
                  "expectedGoals": 0.1211,
                  "expectedAssists": 0.1335,
                  "onTargetScoringAttempt": 0.4491
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5161335468292236,
                    "model_output": 1.5161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1826
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1353
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0949
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1006
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0768
                        }
                      ],
                      "others": 0.1933,
                      "total": 1.5161,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.187346
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119225
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075851
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.074603
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.05644
                        }
                      ],
                      "others_margin": 0.136395
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1303175389766693,
                    "model_output": 0.1303,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0128
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0068
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0056
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0055
                        }
                      ],
                      "others": 0.0153,
                      "total": 0.1303,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.138759
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.094003
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.061112
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.049449
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.048887
                        }
                      ],
                      "others_margin": 0.124954
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.15124399960041046,
                    "model_output": 0.1512,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0143
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0155
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0145
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0123
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0015,
                      "total": 0.1512,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.15529
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.145139
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.118958
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.09085
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.054276
                        }
                      ],
                      "others_margin": 0.009033
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12869666516780853,
                    "model_output": 0.1287,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0185
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0149
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.004
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0032
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0024,
                      "total": 0.1287,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.178946
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123621
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.030666
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.024878
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.018979
                        }
                      ],
                      "others_margin": -0.017713
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15366670489311218,
                    "model_output": 0.1537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0179
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0122
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0082
                        }
                      ],
                      "others": 0.0155,
                      "total": 0.1537,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.168467
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.109063
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.090184
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.081366
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.060946
                        }
                      ],
                      "others_margin": 0.10615
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4672345817089081,
                    "model_output": 0.4672,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0442
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0475
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0131
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0133
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.4672,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12778
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.121252
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.089679
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028448
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.028013
                        }
                      ],
                      "others_margin": -0.029057
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2630178928375244,
                    "model_output": 1.263,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.149
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0432
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0417
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0382
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0314
                        }
                      ],
                      "others": 0.0524,
                      "total": 1.263,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.148969
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043236
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.041717
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.038159
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.031407
                        }
                      ],
                      "others_margin": 0.0525
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.859738349914551,
                    "model_output": 6.8597,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0267
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0159
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0116
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0137,
                      "total": 6.8597,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.026706
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.019144
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.015885
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.011561
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.01058
                        }
                      ],
                      "others_margin": -0.013562
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 24,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9977, quality 0.437)",
              "stats": {
                "key_pass": 1.5126,
                "expected_assists": 0.13,
                "assists": 0.1509,
                "assist_rate": 0.1509,
                "expected_goals": 0.1284,
                "goals": 0.1533,
                "goal_rate": 0.1533,
                "shots_on_target": 0.4662,
                "total_shots": 1.2602,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.7264,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.0953,
                "xgot": 0.1944,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.794
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.5126,
                "expected_assists": 0.13,
                "assists": 0.1509,
                "assist_rate": 0.1509,
                "expected_goals": 0.1284,
                "goals": 0.1533,
                "goal_rate": 0.1533,
                "shots_on_target": 0.4662,
                "total_shots": 1.2602,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.7264,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.0953,
                "xgot": 0.1944,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.794
              },
              "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.5126,
                "expected_assists": 0.13,
                "assists": 0.1509,
                "assist_rate": 0.1509,
                "expected_goals": 0.1172,
                "goals": 0.1399,
                "goal_rate": 0.1399,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1774,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Beñat Turrientes",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.36,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9125,
                  "skill_edge": -0.0476,
                  "height_edge": -0.012,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5431,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Beñat Turrientes",
                      "market_value": 10600000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.5431
                    }
                  ],
                  "xg_override": 0.1172
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7264,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.2602,
                  "after": 1.1499
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.794,
                  "after": 0.7245
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4662,
                  "after": 0.4254
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1944,
                  "after": 0.1774
                },
                {
                  "stat": "goals",
                  "before": 0.1533,
                  "after": 0.1399
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1284,
                  "after": 0.1172
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0953,
                  "after": 0.087
                }
              ]
            },
            {
              "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.5126,
                "expected_assists": 0.13,
                "assist_rate": 0.1509,
                "assists": 0,
                "expected_goals": 0.1172,
                "goal_rate": 0.1399,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1774,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.5126,
                "expected_assists": 0.1463,
                "assist_rate": 0.1509,
                "assists": 0,
                "expected_goals": 0.1108,
                "goal_rate": 0.1399,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1678,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1358,
                "creation_factor": 1.1161
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1172,
                  "after": 0.1108
                },
                {
                  "stat": "expected_assists",
                  "before": 0.13,
                  "after": 0.1463
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 1.5126,
                "expected_assists": 0.1463,
                "assist_rate": 0.1509,
                "assists": 0,
                "expected_goals": 0.1108,
                "goal_rate": 0.1399,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1678,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1358,
                "creation_factor": 1.1161,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 320,
                "fifa_rank": 203.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.5126,
                "expected_assists": 0.1463,
                "assist_rate": 0.1509,
                "assists": 0,
                "expected_goals": 0.1108,
                "goal_rate": 0.1399,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1678,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1049,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1358,
                "creation_factor": 1.1161,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1049,
                "goal_rate": 0.1399,
                "scorer_weight": 0.1258,
                "squad_weight_total": 1.0647,
                "weight_share": 0.1182,
                "finishing_factor": 1.1358,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.5126,
                "expected_assists": 0.1463,
                "assist_rate": 0.1509,
                "assists": 1,
                "expected_goals": 0.1108,
                "goal_rate": 0.1399,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.1499,
                "rating": 6.8597,
                "minutes": 83.54,
                "total_pass": 28.8704,
                "accurate_pass": 19.7103,
                "duels_won": 4.7173,
                "total_long_balls": 3.7188,
                "accurate_long_balls": 1.208,
                "total_own_half_passes": 10.1181,
                "accurate_own_half_passes": 8.5195,
                "total_opp_half_passes": 18.7524,
                "accurate_opp_half_passes": 11.1908,
                "crosses_total": 4.7204,
                "crosses_accurate": 0.9871,
                "touches": 45.9428,
                "possession_lost": 16.2591,
                "dispossessed": 0.7718,
                "duels_lost": 4.3117,
                "aerial_won": 0.9,
                "aerial_lost": 1.2927,
                "interceptions": 0.6664,
                "tackles_won": 1.2327,
                "tackles": 1.9253,
                "clearances": 0.6776,
                "total_contest": 1.4436,
                "won_contest": 0.752,
                "challenges_lost": 0.8315,
                "fouls": 0.7497,
                "fouls_drawn": 1.3138,
                "blocks": 0.1879,
                "big_chances_created": 0.3984,
                "big_chances_missed": 0.087,
                "xgot": 0.1678,
                "ball_carries": 10.1325,
                "total_progression": 41.4394,
                "progressive_carries": 1.2843,
                "shots_off_target": 0.7245,
                "duel_xg_multiplier": 0.9125,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.36,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Beñat Turrientes",
                "opponent_faced": "Beñat Turrientes",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1049,
                "projected_assists": 1,
                "assist_probability": 0.1361,
                "finishing_factor": 1.1358,
                "creation_factor": 1.1161,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1361,
                "assist_rate": 0.1509,
                "provider_weight": 0.1633,
                "squad_weight_total": 0.6667,
                "weight_share": 0.2449,
                "creation_factor": 1.1161,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Manuel Sánchez": {
          "player_id": 984789,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 179,
          "market_value": 6400000,
          "stats": {
            "interceptions": 1,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7472,
            "minutes": 88,
            "total_pass": 37,
            "accurate_pass": 30,
            "duels_won": 6,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 19,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 60,
            "possession_lost": 11.34,
            "dispossessed": 0.4933,
            "duels_lost": 6,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 3,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0028,
            "goals": 0,
            "assist_rate": 0.0263,
            "assists": 0,
            "expected_goals": 0.0047,
            "expected_assists": 0.0669,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0026,
            "ball_carries": 16,
            "total_progression": 65,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Takefusa Kubo",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0047,
            "projected_assists": 0,
            "assist_probability": 0.0647,
            "finishing_factor": 0.96,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.7,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1235,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 11,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 29,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0585,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 12,
                "tackles_won": 8,
                "clearances": 2,
                "duels_won": 14,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0063,
                "expected_assists": 0.0285,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 59,
                "accurate_pass": 50,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 6,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0138,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 55,
                "tackles": 3,
                "tackles_won": 2,
                "aerial_won": 1,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.6257,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2393,
            "combined_rank_score": 1048.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 867.0,
            "sofascore_rating": 6.5576,
            "sofascore_appearances": 33.0,
            "fifa_rank": 1230.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7472,
            "source_file": "data/player_rankings.csv",
            "player_name": "Manuel Sánchez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                },
                {
                  "player_name": "Moisés González",
                  "ranking": 2389
                },
                {
                  "player_name": "António Silva",
                  "ranking": 2390
                },
                {
                  "player_name": "Carl Starfelt",
                  "ranking": 2391
                },
                {
                  "player_name": "Max Kilman",
                  "ranking": 2392
                }
              ],
              "lower": [
                {
                  "player_name": "Mukhammadkarim Toirov",
                  "ranking": 2394
                },
                {
                  "player_name": "Gabriel Cléúr",
                  "ranking": 2395
                },
                {
                  "player_name": "Carlo Villanueva",
                  "ranking": 2396
                },
                {
                  "player_name": "Sardor Rakhmanov",
                  "ranking": 2397
                },
                {
                  "player_name": "Giannis Konstantelias",
                  "ranking": 2398
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9991,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 39 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9382,
                "tackles": 3.2978,
                "tackles_won": 1.7731,
                "clearances": 2.8675,
                "aerial_won": 0.9643,
                "total_shots": 0.4266,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0545,
                "accurate_pass": 30.4122,
                "duels_won": 5.7829,
                "total_long_balls": 5.5395,
                "accurate_long_balls": 2.0631,
                "total_own_half_passes": 21.0956,
                "accurate_own_half_passes": 18.788,
                "total_opp_half_passes": 15.9589,
                "accurate_opp_half_passes": 11.6242,
                "crosses_total": 1.4166,
                "crosses_accurate": 0.2353,
                "touches": 59.8191,
                "possession_lost": 11.3502,
                "dispossessed": 0.4937,
                "duels_lost": 5.5658,
                "aerial_lost": 1.0819,
                "total_contest": 1.141,
                "won_contest": 0.4533,
                "ball_recovery": 3.7823,
                "challenges_lost": 2.5647,
                "fouls": 0.7593,
                "fouls_drawn": 0.8891,
                "blocks": 0.274,
                "goals": 0.0028,
                "goal_rate": 0.0028,
                "assists": 0.0263,
                "assist_rate": 0.0263,
                "expected_goals": 0.005,
                "expected_assists": 0.0595,
                "shots_on_target": 0.0602,
                "big_chances_created": 0.0825,
                "xgot": 0.0028,
                "ball_carries": 15.7887,
                "total_progression": 64.9622,
                "progressive_carries": 1.0087,
                "key_pass": 0.2846,
                "shots_off_target": 0.3664
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.3711,
                  "aerialWon": 0.6663,
                  "totalClearance_p90": 2.6487,
                  "totalTackle": 3.654,
                  "totalPass": 35.8802
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9381806254386902,
                    "model_output": 0.9382,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1086
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0313
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0233
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0201
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0163
                        }
                      ],
                      "others": 0.0307,
                      "total": 0.9382,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119312
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.032905
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.025261
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.022275
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.018126
                        }
                      ],
                      "others_margin": 0.033189
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 3.297794818878174,
                    "model_output": 3.2978,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2183
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.2319
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.2119
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.2114
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.2171
                        }
                      ],
                      "others": 0.8133,
                      "total": 3.2978,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.145502
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.134375
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.108777
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.097881
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.091432
                        }
                      ],
                      "others_margin": 0.283198
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.7731037139892578,
                    "model_output": 1.7731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.128
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1284
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1261
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.135
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.078
                        }
                      ],
                      "others": 0.3232,
                      "total": 1.7731,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139588
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.122814
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.107533
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.103631
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.055312
                        }
                      ],
                      "others_margin": 0.201268
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.8675143718719482,
                    "model_output": 2.8675,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4706
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4066
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2814
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.2314
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.1412
                        }
                      ],
                      "others": -0.3287,
                      "total": 2.8675,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.146589
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127872
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.086734
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.071861
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.043214
                        }
                      ],
                      "others_margin": -0.108534
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9643474817276001,
                    "model_output": 0.9643,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.3359
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1459
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0963
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0821
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0594
                        }
                      ],
                      "others": -0.1541,
                      "total": 0.9643,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.278417
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130543
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.084279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.072271
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.051764
                        }
                      ],
                      "others_margin": -0.148212
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4265653192996979,
                    "model_output": 0.4266,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1171
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0576
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0204
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0158
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0077
                        }
                      ],
                      "others": -0.0289,
                      "total": 0.4266,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.117079
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.057592
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.020441
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.01578
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.007685
                        }
                      ],
                      "others_margin": -0.028986
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.747154235839844,
                    "model_output": 6.7472,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.0262
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0195
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0118
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0495,
                      "total": 6.7472,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": 0.026158
                        },
                        {
                          "name": "touches",
                          "margin": 0.019497
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.012964
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.011829
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.009303
                        }
                      ],
                      "others_margin": -0.049535
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 37,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.479)",
              "stats": {
                "interceptions": 0.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goals": 0.0028,
                "goal_rate": 0.0028,
                "assists": 0.0263,
                "assist_rate": 0.0263,
                "expected_goals": 0.005,
                "expected_assists": 0.0594,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0028,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.9991,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goals": 0.0028,
                "goal_rate": 0.0028,
                "assists": 0.0263,
                "assist_rate": 0.0263,
                "expected_goals": 0.005,
                "expected_assists": 0.0594,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0028,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661
              },
              "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.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goals": 0.0028,
                "goal_rate": 0.0028,
                "assists": 0.0263,
                "assist_rate": 0.0263,
                "expected_goals": 0.005,
                "expected_assists": 0.0594,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0028,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Takefusa Kubo",
                  "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.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goal_rate": 0.0028,
                "goals": 0,
                "assist_rate": 0.0263,
                "assists": 0,
                "expected_goals": 0.005,
                "expected_assists": 0.0594,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0028,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goal_rate": 0.0028,
                "goals": 0,
                "assist_rate": 0.0263,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0669,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0026,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "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.96,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0594,
                  "after": 0.0669
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goal_rate": 0.0028,
                "goals": 0,
                "assist_rate": 0.0263,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0669,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0026,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "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.96,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2393,
                "fifa_rank": 1230.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": {
                "interceptions": 0.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goal_rate": 0.0028,
                "goals": 0,
                "assist_rate": 0.0263,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0669,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0026,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0047,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.96,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0047,
                "goal_rate": 0.0028,
                "scorer_weight": 0.0045,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0042,
                "finishing_factor": 0.96,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.9373,
                "tackles": 3.2948,
                "tackles_won": 1.7715,
                "clearances": 2.8649,
                "aerial_won": 0.9635,
                "total_shots": 0.4262,
                "rating": 6.7472,
                "minutes": 87.58,
                "total_pass": 37.0212,
                "accurate_pass": 30.3848,
                "duels_won": 5.7777,
                "total_long_balls": 5.5345,
                "accurate_long_balls": 2.0612,
                "total_own_half_passes": 21.0766,
                "accurate_own_half_passes": 18.7711,
                "total_opp_half_passes": 15.9445,
                "accurate_opp_half_passes": 11.6137,
                "crosses_total": 1.4153,
                "crosses_accurate": 0.2351,
                "touches": 59.7653,
                "possession_lost": 11.34,
                "dispossessed": 0.4933,
                "duels_lost": 5.5608,
                "aerial_lost": 1.0809,
                "total_contest": 1.14,
                "won_contest": 0.4529,
                "ball_recovery": 3.7789,
                "challenges_lost": 2.5624,
                "fouls": 0.7586,
                "fouls_drawn": 0.8883,
                "blocks": 0.2738,
                "goal_rate": 0.0028,
                "goals": 0,
                "assist_rate": 0.0263,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0669,
                "shots_on_target": 0.0601,
                "big_chances_created": 0.0824,
                "xgot": 0.0026,
                "ball_carries": 15.7745,
                "total_progression": 64.9037,
                "progressive_carries": 1.0078,
                "key_pass": 0.2843,
                "shots_off_target": 0.3661,
                "opponent_faced": "Takefusa Kubo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0047,
                "projected_assists": 0,
                "assist_probability": 0.0647,
                "finishing_factor": 0.96,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0647,
                "assist_rate": 0.0263,
                "provider_weight": 0.0535,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0803,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Aïssa Mandi": {
          "player_id": 122810,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 186,
          "market_value": 1100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8004,
            "minutes": 85,
            "total_pass": 45,
            "accurate_pass": 42,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 34,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 3.6269,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "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.0047,
            "expected_assists": 0.0082,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 16,
            "total_progression": 32,
            "progressive_carries": 0,
            "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.736,
            "opponent_faced": "Orri Óskarsson",
            "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.0047,
            "projected_assists": 0,
            "assist_probability": 0.0082,
            "finishing_factor": 0.9091,
            "creation_factor": 0.8726,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 63,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 34,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0144,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 53,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0114,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 59,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 10,
                "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"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0467,
                "expected_assists": 0.0074,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 61,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 3,
                "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": 1409,
            "combined_rank_score": 583.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 949.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8004,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aïssa Mandi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Troy Parrott",
                  "ranking": 1404
                },
                {
                  "player_name": "Anan Khalaili",
                  "ranking": 1405
                },
                {
                  "player_name": "Guillermo May",
                  "ranking": 1406
                },
                {
                  "player_name": "Pubill",
                  "ranking": 1407
                },
                {
                  "player_name": "Bozhidar Kraev",
                  "ranking": 1408
                }
              ],
              "lower": [
                {
                  "player_name": "Anderson Talisca",
                  "ranking": 1410
                },
                {
                  "player_name": "Berat Djimsiti",
                  "ranking": 1411
                },
                {
                  "player_name": "Samuel Souprayen",
                  "ranking": 1412
                },
                {
                  "player_name": "Zeki Çelik",
                  "ranking": 1413
                },
                {
                  "player_name": "Andrei Rațiu",
                  "ranking": 1414
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.655,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.655,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "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": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Levante, 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.1026,
                "tackles": 1.2364,
                "tackles_won": 0.763,
                "clearances": 5.1616,
                "aerial_won": 1.8475,
                "total_shots": 0.3092,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.5148,
                "accurate_pass": 42.095,
                "duels_won": 3.9292,
                "total_long_balls": 4.1152,
                "accurate_long_balls": 2.3428,
                "total_own_half_passes": 35.7799,
                "accurate_own_half_passes": 34.0654,
                "total_opp_half_passes": 9.7349,
                "accurate_opp_half_passes": 8.0296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.8162,
                "possession_lost": 3.6606,
                "dispossessed": 0.0,
                "duels_lost": 1.2925,
                "aerial_lost": 0.8469,
                "total_contest": 0.2548,
                "won_contest": 0.2548,
                "ball_recovery": 2.9757,
                "challenges_lost": 0.0,
                "fouls": 0.4455,
                "fouls_drawn": 0.7775,
                "blocks": 0.3219,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.005,
                "expected_assists": 0.0074,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2047,
                "xgot": 0.0,
                "ball_carries": 15.9698,
                "total_progression": 31.8579,
                "progressive_carries": 0.1069,
                "key_pass": 0.4094,
                "shots_off_target": 0.3092
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.5766,
                  "aerialWon": 1.5648,
                  "totalClearance_p90": 4.783,
                  "totalTackle": 1.4801,
                  "totalPass": 45.5148
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.102644920349121,
                    "model_output": 1.1026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1002
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0876
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0316
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0213
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0123
                        }
                      ],
                      "others": 0.0169,
                      "total": 1.1026,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.110593
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087521
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.029789
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.019626
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.011245
                        }
                      ],
                      "others_margin": 0.015429
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2363743782043457,
                    "model_output": 1.2364,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1615
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.1035
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0733
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0505
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0341
                        }
                      ],
                      "others": -0.0576,
                      "total": 1.2364,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.109656
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.068893
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.051832
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037329
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.025988
                        }
                      ],
                      "others_margin": -0.04552
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.763024628162384,
                    "model_output": 0.763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1087
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.057
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0478
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0406
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0368
                        }
                      ],
                      "others": -0.0991,
                      "total": 0.763,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119794
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.061008
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.054142
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.046238
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.041838
                        }
                      ],
                      "others_margin": -0.122095
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.161633014678955,
                    "model_output": 5.1616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4122
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3833
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4139
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2067
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1369
                        }
                      ],
                      "others": 0.1572,
                      "total": 5.1616,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112826
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.094592
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.092994
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.043393
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.027743
                        }
                      ],
                      "others_margin": 0.030921
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.847490668296814,
                    "model_output": 1.8475,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1505
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1189
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0827
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0842
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.078
                        }
                      ],
                      "others": -0.0488,
                      "total": 1.8475,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.103373
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.074737
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.048889
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.047391
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.041977
                        }
                      ],
                      "others_margin": -0.026091
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.30919572710990906,
                    "model_output": 0.3092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1006
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0443
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0165
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0144
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0923,
                      "total": 0.3092,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.100593
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.04427
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.016507
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.014418
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.011159
                        }
                      ],
                      "others_margin": -0.092365
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8004045486450195,
                    "model_output": 6.8004,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0173
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0158
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0142
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0105
                        }
                      ],
                      "others": 0.052,
                      "total": 6.8004,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.017252
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.015789
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.014196
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.010504
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010459
                        }
                      ],
                      "others_margin": 0.051896
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9908, quality 0.437)",
              "stats": {
                "interceptions": 1.0925,
                "tackles": 1.225,
                "tackles_won": 0.756,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3064,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4414,
                "fouls_drawn": 0.7703,
                "blocks": 0.3189,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.005,
                "expected_assists": 0.0073,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064
              },
              "params": {
                "market_value_eur": 1100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9908,
                "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.0591)",
              "stats": {
                "interceptions": 1.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.005,
                "expected_assists": 0.0073,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064
              },
              "params": {
                "blend_weight": 0.0591,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9458,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.756,
                  "after": 0.8045
                },
                {
                  "stat": "fouls",
                  "before": 0.4414,
                  "after": 0.4153
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0925,
                  "after": 1.0838
                },
                {
                  "stat": "wasFouled",
                  "before": 0.7703,
                  "after": 0.762
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.005,
                "expected_assists": 0.0073,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064
              },
              "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.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.005,
                "expected_assists": 0.0073,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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": "Orri Óskarsson",
                  "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.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.005,
                "expected_assists": 0.0073,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0082,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.9091,
                "creation_factor": 0.8726
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0082,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.9091,
                "creation_factor": 0.8726,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1409,
                "fifa_rank": 949.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0082,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.0047,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9091,
                "creation_factor": 0.8726,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0047,
                "goal_rate": 0.0,
                "scorer_weight": 0.0043,
                "squad_weight_total": 1.0647,
                "weight_share": 0.004,
                "finishing_factor": 0.9091,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0838,
                "tackles": 1.225,
                "tackles_won": 0.8045,
                "clearances": 5.1141,
                "aerial_won": 1.8305,
                "total_shots": 0.3067,
                "rating": 6.8004,
                "minutes": 85.12,
                "total_pass": 45.0961,
                "accurate_pass": 41.7077,
                "duels_won": 3.8931,
                "total_long_balls": 4.0773,
                "accurate_long_balls": 2.3212,
                "total_own_half_passes": 35.4507,
                "accurate_own_half_passes": 33.752,
                "total_opp_half_passes": 9.6453,
                "accurate_opp_half_passes": 7.9557,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.2935,
                "possession_lost": 3.6269,
                "dispossessed": 0.0,
                "duels_lost": 1.2806,
                "aerial_lost": 0.8391,
                "total_contest": 0.2525,
                "won_contest": 0.2525,
                "ball_recovery": 2.9483,
                "challenges_lost": 0.0,
                "fouls": 0.4153,
                "fouls_drawn": 0.762,
                "blocks": 0.3189,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0082,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2028,
                "xgot": 0.0,
                "ball_carries": 15.8229,
                "total_progression": 31.5648,
                "progressive_carries": 0.1059,
                "key_pass": 0.4056,
                "shots_off_target": 0.3064,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.0047,
                "projected_assists": 0,
                "assist_probability": 0.0082,
                "finishing_factor": 0.9091,
                "creation_factor": 0.8726,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0082,
                "assist_rate": 0.0,
                "provider_weight": 0.0072,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0107,
                "creation_factor": 0.8726,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ifeanyi Ndukwe": {
          "player_id": 1929673,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 198,
          "market_value": 3200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.687,
            "minutes": 90,
            "total_pass": 16,
            "accurate_pass": 13,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 3.9444,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "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.0007,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 40,
            "progressive_carries": 0,
            "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.736,
            "opponent_faced": "Orri Óskarsson",
            "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.0007,
            "finishing_factor": 1.0,
            "creation_factor": 0.9881,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.7,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 17,
                "clearances": 4,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4263,
                "expected_assists": 0.0088,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 81,
                "accurate_pass": 73,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 27,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 296,
            "combined_rank_score": 201.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 199.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.687,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ifeanyi Ndukwe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nicolò Barella",
                  "ranking": 291
                },
                {
                  "player_name": "Cody Gakpo",
                  "ranking": 292
                },
                {
                  "player_name": "Nodirbek Abdurazzokov",
                  "ranking": 293
                },
                {
                  "player_name": "Gabriel Słonina",
                  "ranking": 294
                },
                {
                  "player_name": "Reece James",
                  "ranking": 295
                }
              ],
              "lower": [
                {
                  "player_name": "Christian Pulišić",
                  "ranking": 297
                },
                {
                  "player_name": "Zubimendi",
                  "ranking": 298
                },
                {
                  "player_name": "Kim Min-Seung",
                  "ranking": 299
                },
                {
                  "player_name": "Aurélien Tchouaméni",
                  "ranking": 300
                },
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9861,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0322,
                "tackles": 1.8375,
                "tackles_won": 0.9703,
                "clearances": 3.7712,
                "aerial_won": 1.5375,
                "total_shots": 0.2857,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.4865,
                "accurate_pass": 13.027,
                "duels_won": 2.6216,
                "total_long_balls": 0.9189,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.7838,
                "accurate_own_half_passes": 10.3243,
                "total_opp_half_passes": 4.7027,
                "accurate_opp_half_passes": 2.7027,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.1081,
                "possession_lost": 4.0,
                "dispossessed": 0.0,
                "duels_lost": 1.9189,
                "aerial_lost": 1.4595,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5405,
                "challenges_lost": 0.4595,
                "fouls": 0.0,
                "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.0006,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.7027,
                "total_progression": 40.6349,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2857
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.9189,
                  "aerialWon": 1.0811,
                  "totalClearance_p90": 4.3528,
                  "totalTackle": 1.5405,
                  "totalPass": 16.4865
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.032188057899475,
                    "model_output": 1.0322,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1109
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0619
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0417
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0393
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0346
                        }
                      ],
                      "others": 0.0343,
                      "total": 1.0322,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121604
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062008
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.039695
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.037363
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.034118
                        }
                      ],
                      "others_margin": 0.033854
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.8375171422958374,
                    "model_output": 1.8375,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1932
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1115
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0754
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0514
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0504
                        }
                      ],
                      "others": 0.2153,
                      "total": 1.8375,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129804
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.067897
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.045403
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032207
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.031572
                        }
                      ],
                      "others_margin": 0.124662
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.970330536365509,
                    "model_output": 0.9703,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.108
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0466
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0378
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0318
                        }
                      ],
                      "others": -0.0816,
                      "total": 0.9703,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119068
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.047331
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.036776
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034621
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.029828
                        }
                      ],
                      "others_margin": -0.080673
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.771182060241699,
                    "model_output": 3.7712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7368
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4139
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4188
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.4076
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1052
                        }
                      ],
                      "others": 0.7367,
                      "total": 3.7712,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.240145
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.141911
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.125627
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.122048
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.034077
                        }
                      ],
                      "others_margin": 0.217339
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.5375081300735474,
                    "model_output": 1.5375,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2115
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1658
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1509
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1204
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1175
                        }
                      ],
                      "others": 0.0474,
                      "total": 1.5375,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.166118
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132447
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.107022
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.077863
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.075928
                        }
                      ],
                      "others_margin": 0.031324
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2856835424900055,
                    "model_output": 0.2857,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0931
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0391
                        },
                        {
                          "name": "rating",
                          "contribution": -0.035
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0211
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0595,
                      "total": 0.2857,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.093107
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.039144
                        },
                        {
                          "name": "rating",
                          "margin": -0.035002
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.021147
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015788
                        }
                      ],
                      "others_margin": -0.059548
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.686955451965332,
                    "model_output": 6.687,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0579
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0227
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0191
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0187
                        }
                      ],
                      "others": -0.0751,
                      "total": 6.687,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.057852
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.022664
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.020441
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.019087
                        },
                        {
                          "name": "rating",
                          "margin": -0.018729
                        }
                      ],
                      "others_margin": -0.075108
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 2,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9861, quality 0.440)",
              "stats": {
                "interceptions": 1.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0006,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9861,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0006,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817
              },
              "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.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0006,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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": "Orri Óskarsson",
                  "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.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0006,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.9881
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "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 84.0)",
              "stats": {
                "interceptions": 1.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.9881,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 296,
                "fifa_rank": 199.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.9881,
                "fifa_overall": 84.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.0647,
                "weight_share": 0.0009,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0178,
                "tackles": 1.812,
                "tackles_won": 0.9568,
                "clearances": 3.7188,
                "aerial_won": 1.5161,
                "total_shots": 0.2817,
                "rating": 6.687,
                "minutes": 90.0,
                "total_pass": 16.2573,
                "accurate_pass": 12.8459,
                "duels_won": 2.5852,
                "total_long_balls": 0.9061,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.62,
                "accurate_own_half_passes": 10.1808,
                "total_opp_half_passes": 4.6373,
                "accurate_opp_half_passes": 2.6651,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.773,
                "possession_lost": 3.9444,
                "dispossessed": 0.0,
                "duels_lost": 1.8922,
                "aerial_lost": 1.4392,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.5191,
                "challenges_lost": 0.4531,
                "fouls": 0.0,
                "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.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.6234,
                "total_progression": 40.0701,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2817,
                "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.736,
                "opponent_faced": "Orri Óskarsson",
                "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.0007,
                "finishing_factor": 1.0,
                "creation_factor": 0.9881,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0007,
                "assist_rate": 0.0,
                "provider_weight": 0.001,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0015,
                "creation_factor": 0.9881,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jeremy Toljan": {
          "player_id": 149606,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 22,
          "height": 182,
          "market_value": 1900000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6048,
            "minutes": 84,
            "total_pass": 31,
            "accurate_pass": 25,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 49,
            "possession_lost": 10.0369,
            "dispossessed": 0.1106,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0003,
            "goals": 0,
            "assist_rate": 0.2351,
            "assists": 0,
            "expected_goals": 0.0275,
            "expected_assists": 0.0818,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0003,
            "ball_carries": 8,
            "total_progression": 23,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.524,
            "opponent_faced": "Carlos Soler",
            "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.0271,
            "projected_assists": 0,
            "assist_probability": 0.0785,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 89,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0428,
                "expected_assists": 0.0772,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1661,
                "expected_assists": 0.0603,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 14,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0562,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 23,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 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": 3878,
            "combined_rank_score": 1867.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 856.0,
            "sofascore_rating": 6.5667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2879.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6048,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jeremy Toljan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matt Doherty",
                  "ranking": 3873
                },
                {
                  "player_name": "Ramon Hendriks",
                  "ranking": 3874
                },
                {
                  "player_name": "Eric Martel",
                  "ranking": 3875
                },
                {
                  "player_name": "Tiago Tomás",
                  "ranking": 3876
                },
                {
                  "player_name": "Leandro Díaz",
                  "ranking": 3877
                }
              ],
              "lower": [
                {
                  "player_name": "Kamaldeen Sulemana",
                  "ranking": 3879
                },
                {
                  "player_name": "Ansgar Knauff",
                  "ranking": 3880
                },
                {
                  "player_name": "Niccolò Pisilli",
                  "ranking": 3881
                },
                {
                  "player_name": "Elye Wahi",
                  "ranking": 3882
                },
                {
                  "player_name": "Kiko Femenía",
                  "ranking": 3883
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "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.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 73.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 43 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.7704,
                "tackles": 1.3169,
                "tackles_won": 0.8602,
                "clearances": 2.7789,
                "aerial_won": 0.7801,
                "total_shots": 0.3953,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.1268,
                "accurate_pass": 24.8199,
                "duels_won": 3.0755,
                "total_long_balls": 4.908,
                "accurate_long_balls": 1.3536,
                "total_own_half_passes": 14.3612,
                "accurate_own_half_passes": 12.9964,
                "total_opp_half_passes": 16.7656,
                "accurate_opp_half_passes": 11.8235,
                "crosses_total": 2.4059,
                "crosses_accurate": 0.5854,
                "touches": 49.138,
                "possession_lost": 10.058,
                "dispossessed": 0.1108,
                "duels_lost": 2.7614,
                "aerial_lost": 0.7941,
                "total_contest": 0.5968,
                "won_contest": 0.3059,
                "ball_recovery": 2.6825,
                "challenges_lost": 0.7035,
                "fouls": 0.863,
                "fouls_drawn": 0.6944,
                "blocks": 0.4426,
                "goals": 0.0003,
                "goal_rate": 0.0003,
                "assists": 0.2365,
                "assist_rate": 0.2365,
                "expected_goals": 0.0292,
                "expected_assists": 0.0728,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1456,
                "xgot": 0.0003,
                "ball_carries": 8.3861,
                "total_progression": 23.1878,
                "progressive_carries": 0.5557,
                "key_pass": 0.566,
                "shots_off_target": 0.395
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.3889,
                  "aerialWon": 0.4934,
                  "totalClearance_p90": 3.2705,
                  "totalTackle": 1.0292,
                  "totalPass": 21.7403
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.770431637763977,
                    "model_output": 0.7704,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1126
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.109
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0208
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0198
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0191
                        }
                      ],
                      "others": -0.0308,
                      "total": 0.7704,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123401
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119162
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.024447
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.023887
                        },
                        {
                          "name": "touches",
                          "margin": -0.02351
                        }
                      ],
                      "others_margin": -0.0392
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3169273138046265,
                    "model_output": 1.3169,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1805
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1375
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0464
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0436
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0414
                        }
                      ],
                      "others": 0.0114,
                      "total": 1.3169,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121759
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.091386
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.032795
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.031843
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.031216
                        }
                      ],
                      "others_margin": 0.008693
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8602007031440735,
                    "model_output": 0.8602,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1068
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0641
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0403
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0348
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.018
                        }
                      ],
                      "others": 0.0202,
                      "total": 0.8602,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117753
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.06898
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.045975
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.04151
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.021654
                        }
                      ],
                      "others_margin": 0.023882
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.7788937091827393,
                    "model_output": 2.7789,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.572
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2518
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2254
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1273
                        }
                      ],
                      "others": 0.1019,
                      "total": 2.7789,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.181213
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130732
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079844
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.077314
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.046455
                        }
                      ],
                      "others_margin": 0.037363
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7800718545913696,
                    "model_output": 0.7801,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4363
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1149
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0967
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0542
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.05
                        }
                      ],
                      "others": -0.0796,
                      "total": 0.7801,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.37933
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114682
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.095584
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.057908
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.056553
                        }
                      ],
                      "others_margin": -0.097229
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3952920436859131,
                    "model_output": 0.3953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0506
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0479
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0354
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.011
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.0234,
                      "total": 0.3953,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.050617
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.047949
                        },
                        {
                          "name": "rating",
                          "margin": -0.035396
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010962
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.0087
                        }
                      ],
                      "others_margin": -0.023449
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.604833126068115,
                    "model_output": 6.6048,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0348
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0231
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0197
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0162
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0707,
                      "total": 6.6048,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.034849
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.023132
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.019719
                        },
                        {
                          "name": "touches",
                          "margin": -0.016188
                        },
                        {
                          "name": "rating",
                          "margin": -0.015829
                        }
                      ],
                      "others_margin": -0.070582
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 39,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9979, quality 0.437)",
              "stats": {
                "interceptions": 0.7688,
                "tackles": 1.3142,
                "tackles_won": 0.8584,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.4008,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8612,
                "fouls_drawn": 0.6929,
                "blocks": 0.4417,
                "goals": 0.0003,
                "goal_rate": 0.0003,
                "assists": 0.236,
                "assist_rate": 0.236,
                "expected_goals": 0.0291,
                "expected_assists": 0.0726,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0036)",
              "stats": {
                "interceptions": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3931,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goals": 0.0003,
                "goal_rate": 0.0003,
                "assists": 0.2351,
                "assist_rate": 0.2351,
                "expected_goals": 0.0291,
                "expected_assists": 0.0726,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942
              },
              "params": {
                "blend_weight": 0.0036,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9328,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.4008,
                  "after": 2.409
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goals": 0.0003,
                "goal_rate": 0.0003,
                "assists": 0.2351,
                "assist_rate": 0.2351,
                "expected_goals": 0.0291,
                "expected_assists": 0.0726,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942
              },
              "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.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goals": 0.0003,
                "goal_rate": 0.0003,
                "assists": 0.2351,
                "assist_rate": 0.2351,
                "expected_goals": 0.0291,
                "expected_assists": 0.0726,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "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": "Carlos Soler",
                  "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": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goal_rate": 0.0003,
                "goals": 0,
                "assist_rate": 0.2351,
                "assists": 0,
                "expected_goals": 0.0291,
                "expected_assists": 0.0726,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goal_rate": 0.0003,
                "goals": 0,
                "assist_rate": 0.2351,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.0818,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0726,
                  "after": 0.0818
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 74.0)",
              "stats": {
                "interceptions": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goal_rate": 0.0003,
                "goals": 0,
                "assist_rate": 0.2351,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.0818,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 74.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": 3878,
                "fifa_rank": 2879.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goal_rate": 0.0003,
                "goals": 0,
                "assist_rate": 0.2351,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.0818,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "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.0271,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0271,
                "goal_rate": 0.0003,
                "scorer_weight": 0.022,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0207,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.7702,
                "tackles": 1.3142,
                "tackles_won": 0.8553,
                "clearances": 2.7731,
                "aerial_won": 0.7784,
                "total_shots": 0.3945,
                "rating": 6.6048,
                "minutes": 83.95,
                "total_pass": 31.0614,
                "accurate_pass": 24.7678,
                "duels_won": 3.069,
                "total_long_balls": 4.8977,
                "accurate_long_balls": 1.3508,
                "total_own_half_passes": 14.331,
                "accurate_own_half_passes": 12.9691,
                "total_opp_half_passes": 16.7304,
                "accurate_opp_half_passes": 11.7987,
                "crosses_total": 2.409,
                "crosses_accurate": 0.5842,
                "touches": 49.0348,
                "possession_lost": 10.0369,
                "dispossessed": 0.1106,
                "duels_lost": 2.7556,
                "aerial_lost": 0.7924,
                "total_contest": 0.5955,
                "won_contest": 0.3053,
                "ball_recovery": 2.6769,
                "challenges_lost": 0.702,
                "fouls": 0.8623,
                "fouls_drawn": 0.6904,
                "blocks": 0.4417,
                "goal_rate": 0.0003,
                "goals": 0,
                "assist_rate": 0.2351,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.0818,
                "shots_on_target": 0.0003,
                "big_chances_created": 0.1453,
                "xgot": 0.0003,
                "ball_carries": 8.3685,
                "total_progression": 23.1391,
                "progressive_carries": 0.5545,
                "key_pass": 0.5648,
                "shots_off_target": 0.3942,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.524,
                "opponent_faced": "Carlos Soler",
                "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.0271,
                "projected_assists": 0,
                "assist_probability": 0.0785,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0785,
                "assist_rate": 0.2351,
                "provider_weight": 0.1022,
                "squad_weight_total": 0.6667,
                "weight_share": 0.1534,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mathew Ryan": {
          "player_id": 134029,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 184,
          "market_value": 1700000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0039,
            "rating": 7.0048,
            "minutes": 90,
            "total_pass": 32,
            "accurate_pass": 25,
            "total_long_balls": 14,
            "accurate_long_balls": 6,
            "touches": 45,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 0.7487,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 7.8833,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 24,
            "accurate_own_half_passes": 21,
            "gk_engine_opponent_lambda": 2.0092,
            "shots_faced": 18.5,
            "expected_saves": 4.53,
            "high_pressure_saves": 1.56,
            "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.8,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 10,
                "ball_recovery": 8,
                "saves": 3,
                "goals_prevented": 0.3354
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 38,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -0.6572
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 38,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": -0.0389
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.3317
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "clearances": 2,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 1.0551
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 32,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": -0.4955
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 15,
                "saves": 7,
                "goals_prevented": 0.9807
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "tackles": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -0.7259
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 17,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 7,
                "goals_prevented": 0.0496
              },
              "has_player_stats": true,
              "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": 1126,
            "combined_rank_score": 506.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 64.0,
            "sofascore_rating": 7.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 948.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0048,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mathew Ryan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ho-in Lee",
                  "ranking": 1121
                },
                {
                  "player_name": "Kim Min-jae",
                  "ranking": 1122
                },
                {
                  "player_name": "Hak-min Lee",
                  "ranking": 1123
                },
                {
                  "player_name": "Benjamin White",
                  "ranking": 1124
                },
                {
                  "player_name": "Đorđe Petrović",
                  "ranking": 1125
                }
              ],
              "lower": [
                {
                  "player_name": "Johan Manzambi",
                  "ranking": 1127
                },
                {
                  "player_name": "Rasul Yuldashev",
                  "ranking": 1128
                },
                {
                  "player_name": "Muhammad Yuldashev",
                  "ranking": 1129
                },
                {
                  "player_name": "Carlos Morales",
                  "ranking": 1130
                },
                {
                  "player_name": "Ousmane Diomande",
                  "ranking": 1131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 42,
          "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": 42,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "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 42 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Levante, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3.0217,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3994,
                "accurate_pass": 24.7127,
                "total_long_balls": 13.5366,
                "accurate_long_balls": 6.0195,
                "touches": 44.994,
                "clearances": 1.2503,
                "ball_recovery": 8.9272,
                "high_claims": 1.3714,
                "punches": 0.7504,
                "aerial_won": 0.2142,
                "sweeper_actions": 0.7133,
                "sweeper_accurate": 0.7133,
                "saves_inside_box": 2.2988,
                "possession_lost": 7.9007,
                "duels_won": 0.4089,
                "duels_lost": 0.0845,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1136,
                "total_own_half_passes": 23.9651,
                "accurate_own_half_passes": 21.4442
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.6803,
                  "distribution_accuracy": 0.8771,
                  "sweeper_accuracy": 0.5411,
                  "goalkeeperValueNormalized": 0.299,
                  "save_contribution": 3.4755,
                  "accurateKeeperSweeper": 0.714
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.021710157394409,
                    "model_output": 3.0217,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "saves",
                          "contribution": 0.0268
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0235
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0221
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0142
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0139
                        }
                      ],
                      "others": -0.0074,
                      "total": 3.0217,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": 0.009113
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.007917
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.007376
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.004732
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.004587
                        }
                      ],
                      "others_margin": -0.00244
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.003906581085175276,
                    "model_output": 0.0039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.016
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0138
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0127
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0099
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.009
                        }
                      ],
                      "others": 0.0091,
                      "total": 0.0039,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.015983
                        },
                        {
                          "name": "punches",
                          "margin": 0.013815
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.012703
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.009893
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.009008
                        }
                      ],
                      "others_margin": 0.0091
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.004837989807129,
                    "model_output": 7.0048,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0157
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0119
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0119
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0108
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "contribution": -0.0102
                        }
                      ],
                      "others": 0.0032,
                      "total": 7.0048,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.01566
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.011907
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.011897
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.010776
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "margin": -0.010247
                        }
                      ],
                      "others_margin": 0.003331
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 42,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "saves": 3.0151,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1134,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397
              },
              "params": {
                "market_value_eur": 1700000,
                "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.0138)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397
              },
              "params": {
                "blend_weight": 0.0138,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.0151,
                  "after": 3.0379
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 19.1,
                "expected_saves": 4.68,
                "high_pressure_saves": 1.61,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 2.0092
                }
              }
            },
            {
              "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": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 19.1,
                "expected_saves": 4.68,
                "high_pressure_saves": 1.61,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "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.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "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.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 19.1,
                  "after": 18.5
                },
                {
                  "stat": "expected_saves",
                  "before": 4.68,
                  "after": 4.53
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.61,
                  "after": 1.56
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 79.0)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1126,
                "fifa_rank": 948.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3.0379,
                "goals_prevented": 0.0039,
                "rating": 7.0048,
                "minutes": 90.0,
                "total_pass": 32.3281,
                "accurate_pass": 24.6583,
                "total_long_balls": 13.5068,
                "accurate_long_balls": 6.0063,
                "touches": 44.895,
                "clearances": 1.2475,
                "ball_recovery": 8.9076,
                "high_claims": 1.3684,
                "punches": 0.7487,
                "aerial_won": 0.2137,
                "sweeper_actions": 0.7117,
                "sweeper_accurate": 0.7117,
                "saves_inside_box": 2.2937,
                "possession_lost": 7.8833,
                "duels_won": 0.408,
                "duels_lost": 0.0843,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.1164,
                "total_own_half_passes": 23.9124,
                "accurate_own_half_passes": 21.397,
                "gk_engine_opponent_lambda": 2.0092,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Orri Óskarsson, Mikel Oyarzabal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Pablo Cunat Campos": {
          "player_id": 2660173,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 188,
          "market_value": 1600000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.014,
            "rating": 7.0012,
            "minutes": 4,
            "total_pass": 4,
            "accurate_pass": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "touches": 7,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.3735,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 2.1263,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_id": 14082865,
              "match_date": "2025-08-23",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 8,
                "clearances": 3,
                "ball_recovery": 17,
                "saves": 9,
                "goals_prevented": -0.4715
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14082849,
              "match_date": "2025-08-16",
              "home_team": "Deportivo Alavés",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 21,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": 0.2151
              },
              "has_player_stats": true,
              "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": 37,
            "combined_rank_score": 46.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 49.0,
            "sofascore_rating": 7.75,
            "sofascore_appearances": 2.0,
            "fifa_rank": 43.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0012,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Cunat Campos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                },
                {
                  "player_name": "Fermín López",
                  "ranking": 33
                },
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                }
              ],
              "lower": [
                {
                  "player_name": "Pablo Cuñat",
                  "ranking": 38
                },
                {
                  "player_name": "Mike Maignan",
                  "ranking": 39
                },
                {
                  "player_name": "Martin Ødegaard",
                  "ranking": 40
                },
                {
                  "player_name": "Lionel Messi",
                  "ranking": 41
                },
                {
                  "player_name": "Abdumavlon Abduzhalilov",
                  "ranking": 42
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (2 historical appearances) to 4.4 expected mins (appearance prob 0.11)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.7498,
                "goals_prevented": -0.0921,
                "rating": 7.0012,
                "minutes": 28.5,
                "total_pass": 27.973,
                "accurate_pass": 13.973,
                "total_long_balls": 21.0,
                "accurate_long_balls": 7.4595,
                "touches": 44.9189,
                "clearances": 3.0,
                "ball_recovery": 12.8649,
                "high_claims": 2.0,
                "punches": 2.4595,
                "aerial_won": 0.9189,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 3.0811,
                "possession_lost": 14.0,
                "duels_won": 0.9189,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 9.8108,
                "accurate_own_half_passes": 9.3513
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2025-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2025-08-16",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.0,
                  "distribution_accuracy": 0.9758,
                  "sweeper_accuracy": 0.0,
                  "goalkeeperValueNormalized": 0.53,
                  "save_contribution": 5.6277,
                  "accurateKeeperSweeper": 0.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.749842882156372,
                    "model_output": 2.7498,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1664
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.1107
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0651
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0321
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0258
                        }
                      ],
                      "others": 0.0269,
                      "total": 2.7498,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.058483
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.040897
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.024264
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.011757
                        },
                        {
                          "name": "rating",
                          "margin": -0.009416
                        }
                      ],
                      "others_margin": 0.00978
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.09213745594024658,
                    "model_output": -0.0921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "punches",
                          "contribution": -0.051
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": 0.0268
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0245
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0243
                        }
                      ],
                      "others": -0.023,
                      "total": -0.0921,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": -0.051015
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.028135
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": 0.026754
                        },
                        {
                          "name": "rating",
                          "margin": -0.024525
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.024288
                        }
                      ],
                      "others_margin": -0.022892
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.001150131225586,
                    "model_output": 7.0012,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0449
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0281
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0254
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0203
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0197
                        }
                      ],
                      "others": 0.0407,
                      "total": 7.0012,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.044872
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028143
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.025371
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.020293
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.019654
                        }
                      ],
                      "others_margin": 0.040618
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 2,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9855, quality 0.437)",
              "stats": {
                "saves": 2.71,
                "goals_prevented": -0.0908,
                "rating": 7.0012,
                "minutes": 28.5,
                "total_pass": 27.5674,
                "accurate_pass": 13.7704,
                "total_long_balls": 20.6955,
                "accurate_long_balls": 7.3513,
                "touches": 44.2676,
                "clearances": 2.9565,
                "ball_recovery": 12.6784,
                "high_claims": 1.971,
                "punches": 2.4238,
                "aerial_won": 0.9056,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 3.0364,
                "possession_lost": 13.797,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 9.6685,
                "accurate_own_half_passes": 9.2157
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.4176,
                "goals_prevented": -0.014,
                "rating": 7.0012,
                "minutes": 4.39,
                "total_pass": 4.2485,
                "accurate_pass": 2.1222,
                "total_long_balls": 3.1894,
                "accurate_long_balls": 1.1329,
                "touches": 6.8222,
                "clearances": 0.4556,
                "ball_recovery": 1.9539,
                "high_claims": 0.3038,
                "punches": 0.3735,
                "aerial_won": 0.1396,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.4679,
                "possession_lost": 2.1263,
                "duels_won": 0.1396,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.49,
                "accurate_own_half_passes": 1.4203,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4176,
                "goals_prevented": -0.014,
                "rating": 7.0012,
                "minutes": 4.39,
                "total_pass": 4.2485,
                "accurate_pass": 2.1222,
                "total_long_balls": 3.1894,
                "accurate_long_balls": 1.1329,
                "touches": 6.8222,
                "clearances": 0.4556,
                "ball_recovery": 1.9539,
                "high_claims": 0.3038,
                "punches": 0.3735,
                "aerial_won": 0.1396,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.4679,
                "possession_lost": 2.1263,
                "duels_won": 0.1396,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.49,
                "accurate_own_half_passes": 1.4203,
                "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.4176,
                "goals_prevented": -0.014,
                "rating": 7.0012,
                "minutes": 4.39,
                "total_pass": 4.2485,
                "accurate_pass": 2.1222,
                "total_long_balls": 3.1894,
                "accurate_long_balls": 1.1329,
                "touches": 6.8222,
                "clearances": 0.4556,
                "ball_recovery": 1.9539,
                "high_claims": 0.3038,
                "punches": 0.3735,
                "aerial_won": 0.1396,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.4679,
                "possession_lost": 2.1263,
                "duels_won": 0.1396,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.49,
                "accurate_own_half_passes": 1.4203,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 88.0)",
              "stats": {
                "saves": 0.4176,
                "goals_prevented": -0.014,
                "rating": 7.0012,
                "minutes": 4.39,
                "total_pass": 4.2485,
                "accurate_pass": 2.1222,
                "total_long_balls": 3.1894,
                "accurate_long_balls": 1.1329,
                "touches": 6.8222,
                "clearances": 0.4556,
                "ball_recovery": 1.9539,
                "high_claims": 0.3038,
                "punches": 0.3735,
                "aerial_won": 0.1396,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.4679,
                "possession_lost": 2.1263,
                "duels_won": 0.1396,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.49,
                "accurate_own_half_passes": 1.4203,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 37,
                "fifa_rank": 43.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 88.0
              }
            }
          ]
        },
        "Axel Tape": {
          "player_id": 1937795,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 180,
          "market_value": 8700000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 7,
            "accurate_pass": 5,
            "expected_goals": 0.0028,
            "rating": 6.9,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.0001,
            "dispossessed": 0.5,
            "duels_lost": 1,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0062,
            "assists": 0,
            "expected_assists": 0.0078,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.002,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 9,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.311,
            "bench_expected_minutes": 13.85,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 67.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 6593,
            "combined_rank_score": 4909.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 9120.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Axel Tape",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tim Siersleben",
                  "ranking": 6588
                },
                {
                  "player_name": "Lee Ho Jae",
                  "ranking": 6589
                },
                {
                  "player_name": "Boris Tomiak",
                  "ranking": 6590
                },
                {
                  "player_name": "Ole Pohlmann",
                  "ranking": 6591
                },
                {
                  "player_name": "Semih Sahin",
                  "ranking": 6592
                }
              ],
              "lower": [
                {
                  "player_name": "Daisuke Yokota",
                  "ranking": 6594
                },
                {
                  "player_name": "Clayton Taylor",
                  "ranking": 6595
                },
                {
                  "player_name": "Rahim Alhassane",
                  "ranking": 6596
                },
                {
                  "player_name": "Giovane",
                  "ranking": 6597
                },
                {
                  "player_name": "Stefano Sabelli",
                  "ranking": 6598
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 13.847985272763946,
            "bench_appearance_prob": 0.3112720578529066,
            "market_value_adjustment": 0.5071,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€8,700,000) scaled to 13.8 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.51)",
              "stats": {
                "interceptions": 1.6,
                "tackles": 2.4,
                "tackles_won": 1.5,
                "clearances": 2.7,
                "aerial_won": 2.3,
                "duels_won": 5.5,
                "total_pass": 44.0,
                "accurate_pass": 35.0,
                "expected_goals": 0.018,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 6.0,
                "accurate_long_balls": 3.0,
                "total_own_half_passes": 28.0,
                "accurate_own_half_passes": 23.0,
                "total_opp_half_passes": 10.0,
                "accurate_opp_half_passes": 7.0,
                "crosses_total": 0.9,
                "crosses_accurate": 0.4,
                "touches": 60.0,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 3.5,
                "aerial_lost": 2.0,
                "total_contest": 4.0,
                "won_contest": 2.3,
                "ball_recovery": 5.0,
                "challenges_lost": 1.0,
                "fouls": 1.0,
                "fouls_drawn": 0.7,
                "blocks": 0.7,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.04,
                "assist_rate": 0.04,
                "expected_assists": 0.051,
                "total_shots": 0.4,
                "shots_on_target": 0.15,
                "shots_off_target": 0.2,
                "big_chances_created": 0.04,
                "xgot": 0.013,
                "key_pass": 0.6,
                "ball_carries": 20.0,
                "total_progression": 60.0,
                "progressive_carries": 5.0
              },
              "params": {
                "market_value_eur": 8700000,
                "quality_factor": 0.5071
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 13.8 expected minutes (appearance prob 0.31)",
              "stats": {
                "interceptions": 0.2462,
                "tackles": 0.3693,
                "tackles_won": 0.2308,
                "clearances": 0.4154,
                "aerial_won": 0.3539,
                "duels_won": 0.8463,
                "total_pass": 6.7701,
                "accurate_pass": 5.3853,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.85,
                "total_long_balls": 0.9232,
                "accurate_long_balls": 0.4616,
                "total_own_half_passes": 4.3083,
                "accurate_own_half_passes": 3.5389,
                "total_opp_half_passes": 1.5387,
                "accurate_opp_half_passes": 1.0771,
                "crosses_total": 0.1385,
                "crosses_accurate": 0.0615,
                "touches": 9.232,
                "possession_lost": 1.0001,
                "dispossessed": 0.5,
                "duels_lost": 0.5385,
                "aerial_lost": 2.0,
                "total_contest": 0.6155,
                "won_contest": 0.3539,
                "ball_recovery": 0.7693,
                "challenges_lost": 1.0,
                "fouls": 0.1539,
                "fouls_drawn": 0.1077,
                "blocks": 0.1077,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0062,
                "assist_rate": 0.0062,
                "expected_assists": 0.0078,
                "total_shots": 0.0615,
                "shots_on_target": 0.0231,
                "shots_off_target": 0.0308,
                "big_chances_created": 0.0062,
                "xgot": 0.002,
                "key_pass": 0.0923,
                "ball_carries": 3.0773,
                "total_progression": 9.232,
                "progressive_carries": 0.7693,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 13.85
              },
              "params": {
                "expected_minutes": 13.85,
                "projection_minutes": 90.0,
                "minutes_scale": 0.1539,
                "appearance_probability": 0.311
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2462,
                "tackles": 0.3693,
                "tackles_won": 0.2308,
                "clearances": 0.4154,
                "aerial_won": 0.3539,
                "duels_won": 0.8463,
                "total_pass": 6.7701,
                "accurate_pass": 5.3853,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.85,
                "total_long_balls": 0.9232,
                "accurate_long_balls": 0.4616,
                "total_own_half_passes": 4.3083,
                "accurate_own_half_passes": 3.5389,
                "total_opp_half_passes": 1.5387,
                "accurate_opp_half_passes": 1.0771,
                "crosses_total": 0.1385,
                "crosses_accurate": 0.0615,
                "touches": 9.232,
                "possession_lost": 1.0001,
                "dispossessed": 0.5,
                "duels_lost": 0.5385,
                "aerial_lost": 2.0,
                "total_contest": 0.6155,
                "won_contest": 0.3539,
                "ball_recovery": 0.7693,
                "challenges_lost": 1.0,
                "fouls": 0.1539,
                "fouls_drawn": 0.1077,
                "blocks": 0.1077,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0062,
                "assist_rate": 0.0062,
                "expected_assists": 0.0078,
                "total_shots": 0.0615,
                "shots_on_target": 0.0231,
                "shots_off_target": 0.0308,
                "big_chances_created": 0.0062,
                "xgot": 0.002,
                "key_pass": 0.0923,
                "ball_carries": 3.0773,
                "total_progression": 9.232,
                "progressive_carries": 0.7693,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 13.85
              },
              "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.2462,
                "tackles": 0.3693,
                "tackles_won": 0.2308,
                "clearances": 0.4154,
                "aerial_won": 0.3539,
                "duels_won": 0.8463,
                "total_pass": 6.7701,
                "accurate_pass": 5.3853,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.85,
                "total_long_balls": 0.9232,
                "accurate_long_balls": 0.4616,
                "total_own_half_passes": 4.3083,
                "accurate_own_half_passes": 3.5389,
                "total_opp_half_passes": 1.5387,
                "accurate_opp_half_passes": 1.0771,
                "crosses_total": 0.1385,
                "crosses_accurate": 0.0615,
                "touches": 9.232,
                "possession_lost": 1.0001,
                "dispossessed": 0.5,
                "duels_lost": 0.5385,
                "aerial_lost": 2.0,
                "total_contest": 0.6155,
                "won_contest": 0.3539,
                "ball_recovery": 0.7693,
                "challenges_lost": 1.0,
                "fouls": 0.1539,
                "fouls_drawn": 0.1077,
                "blocks": 0.1077,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0062,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0.0615,
                "shots_on_target": 0.0231,
                "shots_off_target": 0.0308,
                "big_chances_created": 0.0062,
                "xgot": 0.002,
                "key_pass": 0.0923,
                "ball_carries": 3.0773,
                "total_progression": 9.232,
                "progressive_carries": 0.7693,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 13.85,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.311,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 67.0)",
              "stats": {
                "interceptions": 0.2462,
                "tackles": 0.3693,
                "tackles_won": 0.2308,
                "clearances": 0.4154,
                "aerial_won": 0.3539,
                "duels_won": 0.8463,
                "total_pass": 6.7701,
                "accurate_pass": 5.3853,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.85,
                "total_long_balls": 0.9232,
                "accurate_long_balls": 0.4616,
                "total_own_half_passes": 4.3083,
                "accurate_own_half_passes": 3.5389,
                "total_opp_half_passes": 1.5387,
                "accurate_opp_half_passes": 1.0771,
                "crosses_total": 0.1385,
                "crosses_accurate": 0.0615,
                "touches": 9.232,
                "possession_lost": 1.0001,
                "dispossessed": 0.5,
                "duels_lost": 0.5385,
                "aerial_lost": 2.0,
                "total_contest": 0.6155,
                "won_contest": 0.3539,
                "ball_recovery": 0.7693,
                "challenges_lost": 1.0,
                "fouls": 0.1539,
                "fouls_drawn": 0.1077,
                "blocks": 0.1077,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0062,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0.0615,
                "shots_on_target": 0.0231,
                "shots_off_target": 0.0308,
                "big_chances_created": 0.0062,
                "xgot": 0.002,
                "key_pass": 0.0923,
                "ball_carries": 3.0773,
                "total_progression": 9.232,
                "progressive_carries": 0.7693,
                "bench_appearance_probability": 0.311,
                "bench_expected_minutes": 13.85,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 67.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6593,
                "fifa_rank": 9120.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 67.0
              }
            }
          ]
        },
        "Matias Moreno": {
          "player_id": 1496360,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 195,
          "market_value": 5800000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7123,
            "minutes": 14,
            "total_pass": 35,
            "accurate_pass": 31,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 5.6335,
            "dispossessed": 0.2883,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0231,
            "expected_assists": 0.0242,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 95,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.305,
            "bench_expected_minutes": 13.71,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 38,
                "interceptions": 4,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 20,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 12,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083613,
              "match_date": "2026-05-12",
              "home_team": "Celta Vigo",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1934,
                "expected_assists": 0.0462,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 63,
                "accurate_pass": 56,
                "key_pass": 3,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 5.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 65,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 39,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 8,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083265,
              "match_date": "2026-04-23",
              "home_team": "Levante UD",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 34,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083182,
              "match_date": "2026-04-13",
              "home_team": "Levante UD",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.3136,
                "total_shots": 1,
                "total_pass": 48,
                "accurate_pass": 42,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083701,
              "match_date": "2026-04-04",
              "home_team": "Real Sociedad",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083647,
              "match_date": "2026-03-16",
              "home_team": "Rayo Vallecano",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0942,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4033,
            "combined_rank_score": 2016.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 28.0,
            "fifa_rank": 3454.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7123,
            "source_file": "data/player_rankings.csv",
            "player_name": "Matias Moreno",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lazar Carević",
                  "ranking": 4028
                },
                {
                  "player_name": "Nehuén Pérez",
                  "ranking": 4029
                },
                {
                  "player_name": "Francisco Moura",
                  "ranking": 4030
                },
                {
                  "player_name": "Andreas Skov Olsen",
                  "ranking": 4031
                },
                {
                  "player_name": "Borja Sainz",
                  "ranking": 4032
                }
              ],
              "lower": [
                {
                  "player_name": "Fresneda",
                  "ranking": 4034
                },
                {
                  "player_name": "Leonardo Lelo",
                  "ranking": 4035
                },
                {
                  "player_name": "Harrison Armstrong",
                  "ranking": 4036
                },
                {
                  "player_name": "Gastón Benedetti",
                  "ranking": 4037
                },
                {
                  "player_name": "John Egan",
                  "ranking": 4038
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.709104686408814,
            "bench_appearance_prob": 0.30495930392767334,
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (28 historical appearances) to 13.7 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4301,
                "tackles": 0.5445,
                "tackles_won": 0.3724,
                "clearances": 2.1048,
                "aerial_won": 0.7696,
                "total_shots": 0.2316,
                "rating": 6.7123,
                "minutes": 17.0,
                "total_pass": 43.6983,
                "accurate_pass": 38.0689,
                "duels_won": 3.7228,
                "total_long_balls": 4.7863,
                "accurate_long_balls": 2.327,
                "total_own_half_passes": 27.6636,
                "accurate_own_half_passes": 26.1783,
                "total_opp_half_passes": 16.0347,
                "accurate_opp_half_passes": 11.8906,
                "crosses_total": 0.1906,
                "crosses_accurate": 0.0931,
                "touches": 55.9813,
                "possession_lost": 6.9963,
                "dispossessed": 0.2887,
                "duels_lost": 2.7575,
                "aerial_lost": 1.3502,
                "total_contest": 0.2394,
                "won_contest": 0.1305,
                "ball_recovery": 3.181,
                "challenges_lost": 0.3031,
                "fouls": 0.7664,
                "fouls_drawn": 0.878,
                "blocks": 0.4969,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0287,
                "expected_assists": 0.03,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0497,
                "xgot": 0.0,
                "ball_carries": 16.8433,
                "total_progression": 117.8215,
                "progressive_carries": 2.7669,
                "key_pass": 0.4225,
                "shots_off_target": 0.2316
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1516,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1095,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0931,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0791,
                    "rating": 5.2
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0673,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0572,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0413,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-03-16",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.4835,
                  "aerialWon": 1.8392,
                  "totalClearance_p90": 4.5573,
                  "totalTackle": 0.9681,
                  "totalPass": 43.6983
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4301135838031769,
                    "model_output": 0.4301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4747
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0387
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0138
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0133
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0096
                        }
                      ],
                      "others": -0.0279,
                      "total": 0.4301,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.806765
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.096354
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.032169
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030133
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.021285
                        }
                      ],
                      "others_margin": -0.062883
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5444639325141907,
                    "model_output": 0.5445,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7271
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0254
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0237
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0217
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0327,
                      "total": 0.5445,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.737317
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.038835
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.03772
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.035746
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.032
                        }
                      ],
                      "others_margin": -0.058425
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.37243345379829407,
                    "model_output": 0.3724,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4053
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.014
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0092
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0516,
                      "total": 0.3724,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.643149
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.03177
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.024616
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.021932
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.020763
                        }
                      ],
                      "others_margin": -0.129581
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1048316955566406,
                    "model_output": 2.1048,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0649
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2535
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1091
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0893
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0755
                        }
                      ],
                      "others": 0.3419,
                      "total": 2.1048,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.912002
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.167886
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.064383
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.049773
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.04195
                        }
                      ],
                      "others_margin": 0.177362
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.769637405872345,
                    "model_output": 0.7696,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8161
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1411
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0432
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0325
                        }
                      ],
                      "others": 0.0226,
                      "total": 0.7696,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.892807
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.222578
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.059248
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.048754
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.04446
                        }
                      ],
                      "others_margin": 0.029887
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23164039850234985,
                    "model_output": 0.2316,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2042
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0469
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0454
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0221
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.0427,
                      "total": 0.2316,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.204175
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.046877
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.045372
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.022122
                        },
                        {
                          "name": "rating",
                          "margin": -0.013172
                        }
                      ],
                      "others_margin": -0.042761
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7122650146484375,
                    "model_output": 6.7123,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0281
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0161
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0111
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0142,
                      "total": 6.7123,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.028064
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.01608
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012451
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.011145
                        },
                        {
                          "name": "touches",
                          "margin": 0.009172
                        }
                      ],
                      "others_margin": -0.014301
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 28,
                  "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.9985, quality 0.472)",
              "stats": {
                "interceptions": 0.4295,
                "tackles": 0.5436,
                "tackles_won": 0.3719,
                "clearances": 2.1017,
                "aerial_won": 0.7685,
                "total_shots": 0.2313,
                "rating": 6.7123,
                "minutes": 17.0,
                "total_pass": 43.6328,
                "accurate_pass": 38.0118,
                "duels_won": 3.7172,
                "total_long_balls": 4.7791,
                "accurate_long_balls": 2.3235,
                "total_own_half_passes": 27.6221,
                "accurate_own_half_passes": 26.139,
                "total_opp_half_passes": 16.0106,
                "accurate_opp_half_passes": 11.8728,
                "crosses_total": 0.1903,
                "crosses_accurate": 0.093,
                "touches": 55.8973,
                "possession_lost": 6.9858,
                "dispossessed": 0.2883,
                "duels_lost": 2.7534,
                "aerial_lost": 1.3482,
                "total_contest": 0.239,
                "won_contest": 0.1303,
                "ball_recovery": 3.1762,
                "challenges_lost": 0.3026,
                "fouls": 0.7653,
                "fouls_drawn": 0.8767,
                "blocks": 0.4962,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0287,
                "expected_assists": 0.03,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0496,
                "xgot": 0.0,
                "ball_carries": 16.818,
                "total_progression": 117.6448,
                "progressive_carries": 2.7627,
                "key_pass": 0.4219,
                "shots_off_target": 0.2313
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9985,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.0 to 13.7 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.3464,
                "tackles": 0.4384,
                "tackles_won": 0.2999,
                "clearances": 1.6948,
                "aerial_won": 0.6197,
                "total_shots": 0.1865,
                "rating": 6.7123,
                "minutes": 13.71,
                "total_pass": 35.1863,
                "accurate_pass": 30.6534,
                "duels_won": 2.9976,
                "total_long_balls": 3.854,
                "accurate_long_balls": 1.8737,
                "total_own_half_passes": 22.275,
                "accurate_own_half_passes": 21.079,
                "total_opp_half_passes": 12.9112,
                "accurate_opp_half_passes": 9.5744,
                "crosses_total": 0.1535,
                "crosses_accurate": 0.075,
                "touches": 45.0766,
                "possession_lost": 5.6335,
                "dispossessed": 0.2883,
                "duels_lost": 2.2204,
                "aerial_lost": 1.3482,
                "total_contest": 0.1927,
                "won_contest": 0.1051,
                "ball_recovery": 2.5613,
                "challenges_lost": 0.3026,
                "fouls": 0.6172,
                "fouls_drawn": 0.707,
                "blocks": 0.4001,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0242,
                "shots_on_target": 0.0,
                "big_chances_created": 0.04,
                "xgot": 0.0,
                "ball_carries": 13.5623,
                "total_progression": 94.8709,
                "progressive_carries": 2.2279,
                "key_pass": 0.3402,
                "shots_off_target": 0.1865,
                "bench_appearance_probability": 0.305,
                "bench_expected_minutes": 13.71
              },
              "params": {
                "expected_minutes": 13.71,
                "projection_minutes": 17.0,
                "minutes_scale": 0.8064,
                "appearance_probability": 0.305
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3464,
                "tackles": 0.4384,
                "tackles_won": 0.2999,
                "clearances": 1.6948,
                "aerial_won": 0.6197,
                "total_shots": 0.1865,
                "rating": 6.7123,
                "minutes": 13.71,
                "total_pass": 35.1863,
                "accurate_pass": 30.6534,
                "duels_won": 2.9976,
                "total_long_balls": 3.854,
                "accurate_long_balls": 1.8737,
                "total_own_half_passes": 22.275,
                "accurate_own_half_passes": 21.079,
                "total_opp_half_passes": 12.9112,
                "accurate_opp_half_passes": 9.5744,
                "crosses_total": 0.1535,
                "crosses_accurate": 0.075,
                "touches": 45.0766,
                "possession_lost": 5.6335,
                "dispossessed": 0.2883,
                "duels_lost": 2.2204,
                "aerial_lost": 1.3482,
                "total_contest": 0.1927,
                "won_contest": 0.1051,
                "ball_recovery": 2.5613,
                "challenges_lost": 0.3026,
                "fouls": 0.6172,
                "fouls_drawn": 0.707,
                "blocks": 0.4001,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0242,
                "shots_on_target": 0.0,
                "big_chances_created": 0.04,
                "xgot": 0.0,
                "ball_carries": 13.5623,
                "total_progression": 94.8709,
                "progressive_carries": 2.2279,
                "key_pass": 0.3402,
                "shots_off_target": 0.1865,
                "bench_appearance_probability": 0.305,
                "bench_expected_minutes": 13.71
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.3464,
                "tackles": 0.4384,
                "tackles_won": 0.2999,
                "clearances": 1.6948,
                "aerial_won": 0.6197,
                "total_shots": 0.1865,
                "rating": 6.7123,
                "minutes": 13.71,
                "total_pass": 35.1863,
                "accurate_pass": 30.6534,
                "duels_won": 2.9976,
                "total_long_balls": 3.854,
                "accurate_long_balls": 1.8737,
                "total_own_half_passes": 22.275,
                "accurate_own_half_passes": 21.079,
                "total_opp_half_passes": 12.9112,
                "accurate_opp_half_passes": 9.5744,
                "crosses_total": 0.1535,
                "crosses_accurate": 0.075,
                "touches": 45.0766,
                "possession_lost": 5.6335,
                "dispossessed": 0.2883,
                "duels_lost": 2.2204,
                "aerial_lost": 1.3482,
                "total_contest": 0.1927,
                "won_contest": 0.1051,
                "ball_recovery": 2.5613,
                "challenges_lost": 0.3026,
                "fouls": 0.6172,
                "fouls_drawn": 0.707,
                "blocks": 0.4001,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0242,
                "shots_on_target": 0.0,
                "big_chances_created": 0.04,
                "xgot": 0.0,
                "ball_carries": 13.5623,
                "total_progression": 94.8709,
                "progressive_carries": 2.2279,
                "key_pass": 0.3402,
                "shots_off_target": 0.1865,
                "bench_appearance_probability": 0.305,
                "bench_expected_minutes": 13.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.305,
                "projected_substitutes": 3,
                "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 73.0)",
              "stats": {
                "interceptions": 0.3464,
                "tackles": 0.4384,
                "tackles_won": 0.2999,
                "clearances": 1.6948,
                "aerial_won": 0.6197,
                "total_shots": 0.1865,
                "rating": 6.7123,
                "minutes": 13.71,
                "total_pass": 35.1863,
                "accurate_pass": 30.6534,
                "duels_won": 2.9976,
                "total_long_balls": 3.854,
                "accurate_long_balls": 1.8737,
                "total_own_half_passes": 22.275,
                "accurate_own_half_passes": 21.079,
                "total_opp_half_passes": 12.9112,
                "accurate_opp_half_passes": 9.5744,
                "crosses_total": 0.1535,
                "crosses_accurate": 0.075,
                "touches": 45.0766,
                "possession_lost": 5.6335,
                "dispossessed": 0.2883,
                "duels_lost": 2.2204,
                "aerial_lost": 1.3482,
                "total_contest": 0.1927,
                "won_contest": 0.1051,
                "ball_recovery": 2.5613,
                "challenges_lost": 0.3026,
                "fouls": 0.6172,
                "fouls_drawn": 0.707,
                "blocks": 0.4001,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0242,
                "shots_on_target": 0.0,
                "big_chances_created": 0.04,
                "xgot": 0.0,
                "ball_carries": 13.5623,
                "total_progression": 94.8709,
                "progressive_carries": 2.2279,
                "key_pass": 0.3402,
                "shots_off_target": 0.1865,
                "bench_appearance_probability": 0.305,
                "bench_expected_minutes": 13.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.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": 4033,
                "fifa_rank": 3454.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Carlos Álvarez": {
          "player_id": 1010656,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 168,
          "market_value": 15500000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0616,
            "assist_rate": 0.0897,
            "assists": 0,
            "expected_goals": 0.0511,
            "goal_rate": 0.0541,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7267,
            "minutes": 23,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 6.1074,
            "dispossessed": 0.1883,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0025,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.319,
            "bench_expected_minutes": 22.56,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 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": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0148,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 18,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0876,
                "expected_assists": 0.0736,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083265,
              "match_date": "2026-04-23",
              "home_team": "Levante UD",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1043,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083182,
              "match_date": "2026-04-13",
              "home_team": "Levante UD",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Getafe",
              "stats": {
                "minutes": 27,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0881,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081793,
              "match_date": "2026-02-27",
              "home_team": "Levante UD",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 57,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6398,
                "expected_assists": 0.0569,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 22,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083567,
              "match_date": "2026-02-22",
              "home_team": "FC Barcelona",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 84,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1293,
                "expected_assists": 0.0183,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 15398993,
              "match_date": "2026-02-18",
              "home_team": "Levante UD",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 16,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.1066,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083396,
              "match_date": "2026-02-15",
              "home_team": "Levante UD",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0143,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 14,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083260,
              "match_date": "2026-02-08",
              "home_team": "Athletic Club",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 9,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3111,
            "combined_rank_score": 1073.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 568.0,
            "sofascore_rating": 6.81,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1579.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7267,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Álvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro Barreiro",
                  "ranking": 3106
                },
                {
                  "player_name": "Mattias Svanberg",
                  "ranking": 3107
                },
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                }
              ],
              "lower": [
                {
                  "player_name": "Tsuyoshi Watanabe",
                  "ranking": 3112
                },
                {
                  "player_name": "Arnau Martínez",
                  "ranking": 3113
                },
                {
                  "player_name": "Ayase Ueda",
                  "ranking": 3114
                },
                {
                  "player_name": "Mika Godts",
                  "ranking": 3115
                },
                {
                  "player_name": "Youri Baas",
                  "ranking": 3116
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "history_matches": 31,
          "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": 31,
            "data_confidence": 0.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.555021941280785,
            "bench_appearance_prob": 0.319,
            "market_value_adjustment": 1.0033,
            "fbref_prior_metrics": {
              "squad": "Levante",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (31 historical appearances) to 22.6 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.664,
                "expected_assists": 0.0574,
                "assists": 0.0838,
                "assist_rate": 0.0838,
                "expected_goals": 0.0476,
                "goals": 0.0507,
                "goal_rate": 0.0507,
                "shots_on_target": 0.1885,
                "total_shots": 0.6436,
                "rating": 6.7267,
                "minutes": 21.08,
                "total_pass": 8.3924,
                "accurate_pass": 6.7008,
                "duels_won": 1.395,
                "total_long_balls": 0.7272,
                "accurate_long_balls": 0.5064,
                "total_own_half_passes": 1.0684,
                "accurate_own_half_passes": 0.6344,
                "total_opp_half_passes": 7.324,
                "accurate_opp_half_passes": 6.0663,
                "crosses_total": 1.683,
                "crosses_accurate": 0.2951,
                "touches": 16.169,
                "possession_lost": 5.6892,
                "dispossessed": 0.1877,
                "duels_lost": 2.4769,
                "aerial_won": 0.0,
                "aerial_lost": 0.8867,
                "interceptions": 0.0,
                "tackles_won": 0.2132,
                "tackles": 0.3112,
                "clearances": 0.1595,
                "total_contest": 0.8903,
                "won_contest": 0.1595,
                "challenges_lost": 0.3862,
                "fouls": 0.2856,
                "fouls_drawn": 0.9243,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 6.2607,
                "total_progression": 18.0008,
                "progressive_carries": 0.8729,
                "shots_off_target": 0.4551
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 30.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Espanyol",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1091,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Sevilla",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-13",
                    "opponent": "Getafe",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0788,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-27",
                    "opponent": "Deportivo Alavés",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-22",
                    "opponent": "FC Barcelona",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-02-18",
                    "opponent": "Villarreal",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.8255,
                  "creative_index": 0.4628,
                  "expectedGoals": 0.0816,
                  "expectedAssists": 0.073,
                  "onTargetScoringAttempt": 0.2343
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6640161275863647,
                    "model_output": 0.664,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3747
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0245
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.018
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0184
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0144
                        }
                      ],
                      "others": 0.0772,
                      "total": 0.664,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.549635
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.046809
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.03298
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.032626
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.024924
                        }
                      ],
                      "others_margin": 0.123662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.057443734258413315,
                    "model_output": 0.0574,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0031
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0024
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0022
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0022
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.0574,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564982
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06138
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.046506
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.043424
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.04282
                        }
                      ],
                      "others_margin": 0.148602
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08384057134389877,
                    "model_output": 0.0838,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0178
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0059
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0062
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0058
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0838,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.234759
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.084596
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.081461
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.070091
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.053716
                        }
                      ],
                      "others_margin": -0.071537
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04762515053153038,
                    "model_output": 0.0476,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0435
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0059
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0021
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0017
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0476,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.616996
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.110289
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.037838
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031368
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.028598
                        }
                      ],
                      "others_margin": -0.079966
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.050664979964494705,
                    "model_output": 0.0507,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0405
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0037
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0035
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0507,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536616
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.098567
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.068868
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.062504
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.058064
                        }
                      ],
                      "others_margin": -0.210359
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18845073878765106,
                    "model_output": 0.1885,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1506
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0118
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0071
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0058
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.1885,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.625354
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065674
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.039322
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.032169
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.027589
                        }
                      ],
                      "others_margin": -0.002636
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.643568754196167,
                    "model_output": 0.6436,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4755
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0531
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0308
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0187
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0123,
                      "total": 0.6436,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.475509
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053077
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.030806
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.018721
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.013743
                        }
                      ],
                      "others_margin": 0.012265
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.726682186126709,
                    "model_output": 6.7267,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.079
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.036
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0256
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0071
                        }
                      ],
                      "others": 0.0115,
                      "total": 6.7267,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.078993
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.035957
                        },
                        {
                          "name": "rating",
                          "margin": -0.025602
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.014024
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.007051
                        }
                      ],
                      "others_margin": 0.01139
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0033, quality 0.585)",
              "stats": {
                "key_pass": 0.6662,
                "expected_assists": 0.0576,
                "assists": 0.0841,
                "assist_rate": 0.0841,
                "expected_goals": 0.0478,
                "goals": 0.0508,
                "goal_rate": 0.0508,
                "shots_on_target": 0.1891,
                "total_shots": 0.6457,
                "rating": 6.7267,
                "minutes": 21.08,
                "total_pass": 8.4201,
                "accurate_pass": 6.7229,
                "duels_won": 1.3996,
                "total_long_balls": 0.7296,
                "accurate_long_balls": 0.5081,
                "total_own_half_passes": 1.0719,
                "accurate_own_half_passes": 0.6365,
                "total_opp_half_passes": 7.3482,
                "accurate_opp_half_passes": 6.0863,
                "crosses_total": 1.6886,
                "crosses_accurate": 0.2961,
                "touches": 16.2224,
                "possession_lost": 5.708,
                "dispossessed": 0.1883,
                "duels_lost": 2.4851,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2139,
                "tackles": 0.3122,
                "clearances": 0.16,
                "total_contest": 0.8932,
                "won_contest": 0.16,
                "challenges_lost": 0.3875,
                "fouls": 0.2865,
                "fouls_drawn": 0.9274,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 6.2814,
                "total_progression": 18.0602,
                "progressive_carries": 0.8758,
                "shots_off_target": 0.4566
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846,
                "boost_factor": 1.0033,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0030)",
              "stats": {
                "key_pass": 0.6662,
                "expected_assists": 0.0576,
                "assists": 0.0838,
                "assist_rate": 0.0838,
                "expected_goals": 0.0478,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.1885,
                "total_shots": 0.6438,
                "rating": 6.7267,
                "minutes": 21.08,
                "total_pass": 8.4201,
                "accurate_pass": 6.7229,
                "duels_won": 1.3996,
                "total_long_balls": 0.7296,
                "accurate_long_balls": 0.5081,
                "total_own_half_passes": 1.0719,
                "accurate_own_half_passes": 0.6365,
                "total_opp_half_passes": 7.3482,
                "accurate_opp_half_passes": 6.0863,
                "crosses_total": 1.6835,
                "crosses_accurate": 0.2961,
                "touches": 16.2224,
                "possession_lost": 5.708,
                "dispossessed": 0.1883,
                "duels_lost": 2.4851,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2133,
                "tackles": 0.3122,
                "clearances": 0.16,
                "total_contest": 0.8932,
                "won_contest": 0.16,
                "challenges_lost": 0.3875,
                "fouls": 0.287,
                "fouls_drawn": 0.9274,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 6.2814,
                "total_progression": 18.0602,
                "progressive_carries": 0.8758,
                "shots_off_target": 0.4566
              },
              "params": {
                "blend_weight": 0.003,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2342,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Levante"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.6886,
                  "after": 1.6835
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.1 to 22.6 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0.7128,
                "expected_assists": 0.0616,
                "assists": 0.0897,
                "assist_rate": 0.0897,
                "expected_goals": 0.0511,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.2017,
                "total_shots": 0.6902,
                "rating": 6.7267,
                "minutes": 22.56,
                "total_pass": 9.0093,
                "accurate_pass": 7.1933,
                "duels_won": 1.4975,
                "total_long_balls": 0.7807,
                "accurate_long_balls": 0.5437,
                "total_own_half_passes": 1.1469,
                "accurate_own_half_passes": 0.681,
                "total_opp_half_passes": 7.8624,
                "accurate_opp_half_passes": 6.5122,
                "crosses_total": 1.8013,
                "crosses_accurate": 0.3168,
                "touches": 17.3575,
                "possession_lost": 6.1074,
                "dispossessed": 0.1883,
                "duels_lost": 2.659,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2282,
                "tackles": 0.334,
                "clearances": 0.1712,
                "total_contest": 0.9557,
                "won_contest": 0.1712,
                "challenges_lost": 0.3875,
                "fouls": 0.3071,
                "fouls_drawn": 0.9923,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 6.7209,
                "total_progression": 19.3239,
                "progressive_carries": 0.9371,
                "shots_off_target": 0.4885,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56
              },
              "params": {
                "expected_minutes": 22.56,
                "projection_minutes": 21.08,
                "minutes_scale": 1.07,
                "appearance_probability": 0.319
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7128,
                "expected_assists": 0.0616,
                "assists": 0.0897,
                "assist_rate": 0.0897,
                "expected_goals": 0.0511,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.2017,
                "total_shots": 0.6902,
                "rating": 6.7267,
                "minutes": 22.56,
                "total_pass": 9.0093,
                "accurate_pass": 7.1933,
                "duels_won": 1.4975,
                "total_long_balls": 0.7807,
                "accurate_long_balls": 0.5437,
                "total_own_half_passes": 1.1469,
                "accurate_own_half_passes": 0.681,
                "total_opp_half_passes": 7.8624,
                "accurate_opp_half_passes": 6.5122,
                "crosses_total": 1.8013,
                "crosses_accurate": 0.3168,
                "touches": 17.3575,
                "possession_lost": 6.1074,
                "dispossessed": 0.1883,
                "duels_lost": 2.659,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2282,
                "tackles": 0.334,
                "clearances": 0.1712,
                "total_contest": 0.9557,
                "won_contest": 0.1712,
                "challenges_lost": 0.3875,
                "fouls": 0.3071,
                "fouls_drawn": 0.9923,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 6.7209,
                "total_progression": 19.3239,
                "progressive_carries": 0.9371,
                "shots_off_target": 0.4885,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56
              },
              "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.7128,
                "expected_assists": 0.0616,
                "assist_rate": 0.0897,
                "assists": 0,
                "expected_goals": 0.0511,
                "goal_rate": 0.0541,
                "goals": 0,
                "shots_on_target": 0.2017,
                "total_shots": 0.6902,
                "rating": 6.7267,
                "minutes": 22.56,
                "total_pass": 9.0093,
                "accurate_pass": 7.1933,
                "duels_won": 1.4975,
                "total_long_balls": 0.7807,
                "accurate_long_balls": 0.5437,
                "total_own_half_passes": 1.1469,
                "accurate_own_half_passes": 0.681,
                "total_opp_half_passes": 7.8624,
                "accurate_opp_half_passes": 6.5122,
                "crosses_total": 1.8013,
                "crosses_accurate": 0.3168,
                "touches": 17.3575,
                "possession_lost": 6.1074,
                "dispossessed": 0.1883,
                "duels_lost": 2.659,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2282,
                "tackles": 0.334,
                "clearances": 0.1712,
                "total_contest": 0.9557,
                "won_contest": 0.1712,
                "challenges_lost": 0.3875,
                "fouls": 0.3071,
                "fouls_drawn": 0.9923,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 6.7209,
                "total_progression": 19.3239,
                "progressive_carries": 0.9371,
                "shots_off_target": 0.4885,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.319,
                "projected_substitutes": 3,
                "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 77.0)",
              "stats": {
                "key_pass": 0.7128,
                "expected_assists": 0.0616,
                "assist_rate": 0.0897,
                "assists": 0,
                "expected_goals": 0.0511,
                "goal_rate": 0.0541,
                "goals": 0,
                "shots_on_target": 0.2017,
                "total_shots": 0.6902,
                "rating": 6.7267,
                "minutes": 22.56,
                "total_pass": 9.0093,
                "accurate_pass": 7.1933,
                "duels_won": 1.4975,
                "total_long_balls": 0.7807,
                "accurate_long_balls": 0.5437,
                "total_own_half_passes": 1.1469,
                "accurate_own_half_passes": 0.681,
                "total_opp_half_passes": 7.8624,
                "accurate_opp_half_passes": 6.5122,
                "crosses_total": 1.8013,
                "crosses_accurate": 0.3168,
                "touches": 17.3575,
                "possession_lost": 6.1074,
                "dispossessed": 0.1883,
                "duels_lost": 2.659,
                "aerial_won": 0.0,
                "aerial_lost": 0.8896,
                "interceptions": 0.0,
                "tackles_won": 0.2282,
                "tackles": 0.334,
                "clearances": 0.1712,
                "total_contest": 0.9557,
                "won_contest": 0.1712,
                "challenges_lost": 0.3875,
                "fouls": 0.3071,
                "fouls_drawn": 0.9923,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 6.7209,
                "total_progression": 19.3239,
                "progressive_carries": 0.9371,
                "shots_off_target": 0.4885,
                "bench_appearance_probability": 0.319,
                "bench_expected_minutes": 22.56,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3111,
                "fifa_rank": 1579.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Enzo Bardeli": {
          "player_id": 996974,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 172,
          "market_value": 5800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0238,
            "assist_rate": 0.049,
            "assists": 0,
            "expected_goals": 0.0075,
            "goal_rate": 0.0169,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6474,
            "minutes": 22,
            "total_pass": 14,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 22,
            "possession_lost": 5.5542,
            "dispossessed": 0.5602,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0028,
            "ball_carries": 6,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.505,
            "bench_expected_minutes": 22.11,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0074,
            "projected_assists": 0,
            "assist_probability": 0.0232,
            "finishing_factor": 1.0167,
            "creation_factor": 1.0773,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.4,
                "expected_goals": 0.1358,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 13,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0501,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 77,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0658,
                "expected_assists": 0.1481,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 65,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0193,
                "expected_assists": 0.1563,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "tackles_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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1452,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4002,
            "combined_rank_score": 1982.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3520.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6474,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Bardeli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Junior Sornoza",
                  "ranking": 3997
                },
                {
                  "player_name": "Tai Baribo",
                  "ranking": 3998
                },
                {
                  "player_name": "Claudio Echeverri",
                  "ranking": 3999
                },
                {
                  "player_name": "Turrientes",
                  "ranking": 4000
                },
                {
                  "player_name": "Agirrezabala",
                  "ranking": 4001
                }
              ],
              "lower": [
                {
                  "player_name": "Andrés García",
                  "ranking": 4003
                },
                {
                  "player_name": "Antoni Milambo",
                  "ranking": 4004
                },
                {
                  "player_name": "Loum Tchaouna",
                  "ranking": 4005
                },
                {
                  "player_name": "Marco Grüll",
                  "ranking": 4006
                },
                {
                  "player_name": "Soungoutou Magassa",
                  "ranking": 4007
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "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.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.109104686408813,
            "bench_appearance_prob": 0.5049593039276733,
            "market_value_adjustment": 0.9955,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (6 historical appearances) to 22.1 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4893,
                "expected_assists": 0.0538,
                "assists": 0.0629,
                "assist_rate": 0.0629,
                "expected_goals": 0.0203,
                "goals": 0.0217,
                "goal_rate": 0.0217,
                "shots_on_target": 0.101,
                "total_shots": 0.311,
                "rating": 6.6474,
                "minutes": 28.22,
                "total_pass": 18.1863,
                "accurate_pass": 15.1096,
                "duels_won": 1.9982,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.2047,
                "total_own_half_passes": 8.0802,
                "accurate_own_half_passes": 7.068,
                "total_opp_half_passes": 10.106,
                "accurate_opp_half_passes": 8.0414,
                "crosses_total": 2.2667,
                "crosses_accurate": 0.6523,
                "touches": 27.7691,
                "possession_lost": 7.1214,
                "dispossessed": 0.5627,
                "duels_lost": 3.1862,
                "aerial_won": 0.0,
                "aerial_lost": 0.5366,
                "interceptions": 0.7267,
                "tackles_won": 0.8263,
                "tackles": 1.2411,
                "clearances": 0.0,
                "total_contest": 0.6195,
                "won_contest": 0.4455,
                "challenges_lost": 1.0364,
                "fouls": 0.8764,
                "fouls_drawn": 0.3116,
                "blocks": 0.2408,
                "big_chances_created": 0.1257,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "ball_carries": 7.1027,
                "total_progression": 23.7635,
                "progressive_carries": 0.7659,
                "shots_off_target": 0.21
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.3219,
                  "creative_index": 0.547,
                  "expectedGoals": 0.0143,
                  "expectedAssists": 0.0798,
                  "onTargetScoringAttempt": 0.1479
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.48932212591171265,
                    "model_output": 0.4893,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4154
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0319
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0232
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0167
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.4893,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.632481
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.065628
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.045106
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.037729
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.033489
                        }
                      ],
                      "others_margin": -0.000954
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0537576898932457,
                    "model_output": 0.0538,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0356
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0026
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.0538,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535295
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.113143
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.057099
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.045107
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.042113
                        }
                      ],
                      "others_margin": -0.014948
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06289385259151459,
                    "model_output": 0.0629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0216
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0035
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0629,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.292182
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.111697
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.070171
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.056263
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.054172
                        }
                      ],
                      "others_margin": -0.080629
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.020318271592259407,
                    "model_output": 0.0203,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.045
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.002
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0033,
                      "total": 0.0203,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.647241
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.418695
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.180974
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07522
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.061385
                        }
                      ],
                      "others_margin": -0.152803
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.021679984405636787,
                    "model_output": 0.0217,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0339
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0217,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425805
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.295125
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.224702
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.08243
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.0793
                        }
                      ],
                      "others_margin": -0.397592
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10100987553596497,
                    "model_output": 0.101,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1436
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0471
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0231
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0088
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.101,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.58553
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.302698
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.190407
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083389
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.040119
                        }
                      ],
                      "others_margin": -0.043593
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3109760284423828,
                    "model_output": 0.311,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3663
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0413
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0358
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0259
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.311,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366344
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.183818
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041282
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035831
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.025913
                        }
                      ],
                      "others_margin": -0.026301
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.647401332855225,
                    "model_output": 6.6474,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0633
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0387
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0271
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0253
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.03,
                      "total": 6.6474,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.063321
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.038707
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.027064
                        },
                        {
                          "name": "rating",
                          "margin": -0.025294
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.017068
                        }
                      ],
                      "others_margin": -0.030016
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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.9955, quality 0.472)",
              "stats": {
                "key_pass": 0.4871,
                "expected_assists": 0.0535,
                "assists": 0.0626,
                "assist_rate": 0.0626,
                "expected_goals": 0.0202,
                "goals": 0.0216,
                "goal_rate": 0.0216,
                "shots_on_target": 0.1006,
                "total_shots": 0.3097,
                "rating": 6.6474,
                "minutes": 28.22,
                "total_pass": 18.1045,
                "accurate_pass": 15.0416,
                "duels_won": 1.9892,
                "total_long_balls": 0.3289,
                "accurate_long_balls": 0.2038,
                "total_own_half_passes": 8.0438,
                "accurate_own_half_passes": 7.0362,
                "total_opp_half_passes": 10.0605,
                "accurate_opp_half_passes": 8.0052,
                "crosses_total": 2.2565,
                "crosses_accurate": 0.6494,
                "touches": 27.6441,
                "possession_lost": 7.0894,
                "dispossessed": 0.5602,
                "duels_lost": 3.1719,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.7234,
                "tackles_won": 0.8226,
                "tackles": 1.2355,
                "clearances": 0.0,
                "total_contest": 0.6167,
                "won_contest": 0.4435,
                "challenges_lost": 1.0317,
                "fouls": 0.8725,
                "fouls_drawn": 0.3102,
                "blocks": 0.2397,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "ball_carries": 7.0707,
                "total_progression": 23.6566,
                "progressive_carries": 0.7625,
                "shots_off_target": 0.2091
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9955,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.2 to 22.1 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0419,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.0158,
                "goals": 0.0169,
                "goal_rate": 0.0169,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "expected_minutes": 22.11,
                "projection_minutes": 28.22,
                "minutes_scale": 0.7835,
                "appearance_probability": 0.505
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0419,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.0158,
                "goals": 0.0169,
                "goal_rate": 0.0169,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11
              },
              "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.3816,
                "expected_assists": 0.0419,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0158,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.505
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0158,
                  "after": 0.0075
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0419,
                  "after": 0.0238
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.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": 4002,
                "fifa_rank": 3520.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0074,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0074,
                "goal_rate": 0.0169,
                "scorer_weight": 0.0076,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0072,
                "finishing_factor": 1.0167,
                "appearance_weight": 0.505,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0074,
                "projected_assists": 0,
                "assist_probability": 0.0232,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0232,
                "assist_rate": 0.049,
                "provider_weight": 0.0256,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0385,
                "creation_factor": 1.0773,
                "appearance_weight": 0.505,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Etta Eyong": {
          "player_id": 1393673,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 181,
          "market_value": 15600000,
          "stats": {
            "expected_goals": 0.0738,
            "goal_rate": 0.1789,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0344,
            "key_pass": 0,
            "rating": 6.671,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 5.2226,
            "dispossessed": 0.6746,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.2722,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1467,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.585,
            "bench_expected_minutes": 25.88,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0693,
            "projected_assists": 0,
            "assist_probability": 0.0334,
            "finishing_factor": 1.2481,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0434,
                "expected_assists": 0.2699,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0529,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0109,
                "expected_assists": 0.0111,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 1,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 8,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0568,
                "expected_assists": 0.002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 14,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5614,
                "expected_assists": 0.0475,
                "total_shots": 4,
                "shots_on_target": 4,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 22,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0205,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 18,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7639,
                "expected_assists": 0.0001,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 4,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083265,
              "match_date": "2026-04-23",
              "home_team": "Levante UD",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083182,
              "match_date": "2026-04-13",
              "home_team": "Levante UD",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Getafe",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3474,
            "combined_rank_score": 1464.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2418.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.671,
            "source_file": "data/player_rankings.csv",
            "player_name": "Etta Eyong",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nabil Bentaleb",
                  "ranking": 3469
                },
                {
                  "player_name": "Ludovic Ajorque",
                  "ranking": 3470
                },
                {
                  "player_name": "Jonathan Gradit",
                  "ranking": 3471
                },
                {
                  "player_name": "Ruben Aguilar",
                  "ranking": 3472
                },
                {
                  "player_name": "Arnaut Danjuma",
                  "ranking": 3473
                }
              ],
              "lower": [
                {
                  "player_name": "Thilo Kehrer",
                  "ranking": 3475
                },
                {
                  "player_name": "Takumi Minamino",
                  "ranking": 3476
                },
                {
                  "player_name": "Dani Cárdenas",
                  "ranking": 3477
                },
                {
                  "player_name": "Pierre Lees-Melou",
                  "ranking": 3478
                },
                {
                  "player_name": "Marc Aguado",
                  "ranking": 3479
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.879293251195485,
            "bench_appearance_prob": 0.5854224205088857,
            "market_value_adjustment": 1.003,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (36 historical appearances) to 25.9 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.1189,
                "goal_rate": 0.1189,
                "shots_on_target": 0.3549,
                "total_shots": 0.8201,
                "expected_assists": 0.0347,
                "key_pass": 0.3189,
                "rating": 6.671,
                "minutes": 17.01,
                "total_pass": 3.5017,
                "accurate_pass": 2.2338,
                "duels_won": 1.3829,
                "total_long_balls": 0.1318,
                "accurate_long_balls": 0.1053,
                "total_opp_half_passes": 3.0559,
                "accurate_opp_half_passes": 1.8504,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1585,
                "touches": 8.142,
                "possession_lost": 3.4713,
                "dispossessed": 0.6726,
                "duels_lost": 2.5443,
                "aerial_lost": 0.9007,
                "total_contest": 0.3107,
                "won_contest": 0.0945,
                "ball_recovery": 0.7152,
                "challenges_lost": 0.1308,
                "fouls": 0.6239,
                "fouls_drawn": 0.3321,
                "assists": 0.181,
                "assist_rate": 0.181,
                "interceptions": 0.1425,
                "tackles_won": 0.01,
                "tackles": 0.202,
                "clearances": 0.0693,
                "blocks": 0.0312,
                "big_chances_created": 0.1832,
                "big_chances_missed": 0.211,
                "xgot": 0.1763,
                "offsides": 0.0163,
                "ball_carries": 1.3481,
                "total_progression": 3.1633,
                "progressive_carries": 0.0265,
                "shots_off_target": 0.4652
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Espanyol",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-13",
                    "opponent": "Getafe",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1115,
                  "totalOppositionHalfPasses": 3.3912,
                  "accurateOppositionHalfPasses": 2.0459,
                  "accuratePass": 2.6596,
                  "totalShots": 0.9847
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08861551433801651,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0922
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0109
                        },
                        {
                          "name": "goals",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.004
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0045,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.622613
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.107569
                        },
                        {
                          "name": "goals",
                          "margin": -0.053995
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.044581
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032406
                        }
                      ],
                      "others_margin": 0.052395
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11891406029462814,
                    "model_output": 0.1189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0761
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0174
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.009
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.005,
                      "total": 0.1189,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467911
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.146514
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.078851
                        },
                        {
                          "name": "goals",
                          "margin": -0.078174
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.033323
                        }
                      ],
                      "others_margin": 0.041936
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3548950254917145,
                    "model_output": 0.3549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2018
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0139
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0132
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0131
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        }
                      ],
                      "others": 0.017,
                      "total": 0.3549,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471233
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.040676
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037164
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036753
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.032933
                        }
                      ],
                      "others_margin": 0.04894
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8200945854187012,
                    "model_output": 0.8201,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0913
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0332
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0294
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0162
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.8201,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.503676
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.091279
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.033157
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.02944
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.016247
                        }
                      ],
                      "others_margin": -0.042501
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03465287759900093,
                    "model_output": 0.0347,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0137
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0029
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0028
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0347,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.239696
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.110412
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.061273
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.059733
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.055316
                        }
                      ],
                      "others_margin": -0.214036
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.31893685460090637,
                    "model_output": 0.3189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2522
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0371
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0176
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.3189,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468684
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.092131
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.075448
                        },
                        {
                          "name": "touches",
                          "margin": -0.059414
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.053884
                        }
                      ],
                      "others_margin": 0.001359
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.670956134796143,
                    "model_output": 6.671,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0503
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0158
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0151
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0165,
                      "total": 6.671,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.050291
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.016854
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015796
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.015051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010406
                        }
                      ],
                      "others_margin": -0.016515
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 36,
                  "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 1.0030, quality 0.586)",
              "stats": {
                "expected_goals": 0.0889,
                "goals": 0.1193,
                "goal_rate": 0.1193,
                "shots_on_target": 0.356,
                "total_shots": 0.8226,
                "expected_assists": 0.0348,
                "key_pass": 0.3199,
                "rating": 6.671,
                "minutes": 17.01,
                "total_pass": 3.5122,
                "accurate_pass": 2.2405,
                "duels_won": 1.387,
                "total_long_balls": 0.1322,
                "accurate_long_balls": 0.1056,
                "total_opp_half_passes": 3.0651,
                "accurate_opp_half_passes": 1.856,
                "crosses_total": 0.2285,
                "crosses_accurate": 0.159,
                "touches": 8.1664,
                "possession_lost": 3.4817,
                "dispossessed": 0.6746,
                "duels_lost": 2.5519,
                "aerial_lost": 0.9034,
                "total_contest": 0.3116,
                "won_contest": 0.0948,
                "ball_recovery": 0.7173,
                "challenges_lost": 0.1312,
                "fouls": 0.6258,
                "fouls_drawn": 0.3331,
                "assists": 0.1815,
                "assist_rate": 0.1815,
                "interceptions": 0.1429,
                "tackles_won": 0.01,
                "tackles": 0.2026,
                "clearances": 0.0695,
                "blocks": 0.0313,
                "big_chances_created": 0.1837,
                "big_chances_missed": 0.2116,
                "xgot": 0.1768,
                "offsides": 0.0163,
                "ball_carries": 1.3521,
                "total_progression": 3.1728,
                "progressive_carries": 0.0266,
                "shots_off_target": 0.4666
              },
              "params": {
                "market_value_eur": 15600000,
                "quality_factor": 0.5857,
                "boost_factor": 1.003,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.0 to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assists": 0.2722,
                "assist_rate": 0.2722,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "params": {
                "expected_minutes": 25.88,
                "projection_minutes": 17.01,
                "minutes_scale": 1.5,
                "appearance_probability": 0.585
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assists": 0.2722,
                "assist_rate": 0.2722,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "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.1334,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.585
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1334,
                  "after": 0.0738
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0522,
                  "after": 0.0344
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.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": 3474,
                "fifa_rank": 2418.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": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0693,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0693,
                "goal_rate": 0.1789,
                "scorer_weight": 0.0921,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0865,
                "finishing_factor": 1.2481,
                "appearance_weight": 0.585,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0693,
                "projected_assists": 0,
                "assist_probability": 0.0334,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0334,
                "assist_rate": 0.2722,
                "provider_weight": 0.043,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0645,
                "creation_factor": 1.25,
                "appearance_weight": 0.585,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Petar Ratkov": {
          "player_id": 1101942,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "expected_goals": 0.0718,
            "goal_rate": 0.13,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0112,
            "key_pass": 0,
            "rating": 6.6118,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 9.2,
            "dispossessed": 1.378,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "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": 9,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.571,
            "bench_expected_minutes": 25.55,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0675,
            "projected_assists": 0,
            "assist_probability": 0.0111,
            "finishing_factor": 0.9841,
            "creation_factor": 0.8,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1324,
                "expected_assists": 0.0281,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 8,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 11,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0009,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 6,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 5795,
            "combined_rank_score": 4058.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 7956.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6118,
            "source_file": "data/player_rankings.csv",
            "player_name": "Petar Ratkov",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samuel Mráz",
                  "ranking": 5790
                },
                {
                  "player_name": "José Sagredo",
                  "ranking": 5791
                },
                {
                  "player_name": "Jahmai Simpson-Pusey",
                  "ranking": 5792
                },
                {
                  "player_name": "Keisuke Gotō",
                  "ranking": 5793
                },
                {
                  "player_name": "Baltasar Barcia",
                  "ranking": 5794
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoube Amaimouni",
                  "ranking": 5796
                },
                {
                  "player_name": "Robert Skov",
                  "ranking": 5797
                },
                {
                  "player_name": "Jonathan Perlaza",
                  "ranking": 5798
                },
                {
                  "player_name": "Juan Manuel Elordi",
                  "ranking": 5799
                },
                {
                  "player_name": "Marvin Friedrich",
                  "ranking": 5800
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.553793669464316,
            "bench_appearance_prob": 0.5706269849756507,
            "market_value_adjustment": 0.9997,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0867,
                "goal_rate": 0.0867,
                "shots_on_target": 0.2775,
                "total_shots": 0.6041,
                "expected_assists": 0.0116,
                "key_pass": 0.212,
                "rating": 6.6118,
                "minutes": 17.0,
                "total_pass": 5.5946,
                "accurate_pass": 3.2973,
                "duels_won": 0.9189,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.8378,
                "accurate_opp_half_passes": 0.9189,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7297,
                "possession_lost": 6.1351,
                "dispossessed": 1.3784,
                "duels_lost": 3.2162,
                "aerial_lost": 1.3784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3784,
                "challenges_lost": 0.4595,
                "fouls": 0.0,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4595,
                "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": 1.3784,
                "total_progression": 5.9637,
                "progressive_carries": 0.4595,
                "shots_off_target": 0.3265
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0386,
                  "totalOppositionHalfPasses": 1.8378,
                  "accurateOppositionHalfPasses": 0.9189,
                  "accuratePass": 3.2973,
                  "totalShots": 0.4595
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08858496695756912,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0855
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0141
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0079
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562094
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.132306
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.082548
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.082487
                        },
                        {
                          "name": "goals",
                          "margin": -0.068128
                        }
                      ],
                      "others_margin": -0.046526
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08673689514398575,
                    "model_output": 0.0867,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0774
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.009
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.007
                        }
                      ],
                      "others": 0.0049,
                      "total": 0.0867,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.477864
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.180643
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089417
                        },
                        {
                          "name": "goals",
                          "margin": -0.082548
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.082092
                        }
                      ],
                      "others_margin": 0.058553
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2775401175022125,
                    "model_output": 0.2775,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2101
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0218
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0187
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0147
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0125
                        }
                      ],
                      "others": 0.0183,
                      "total": 0.2775,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496452
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.069185
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.063319
                        },
                        {
                          "name": "goals",
                          "margin": -0.052702
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.046983
                        }
                      ],
                      "others_margin": 0.068646
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.604084312915802,
                    "model_output": 0.6041,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5187
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1202
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0471
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0389
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.032
                        }
                      ],
                      "others": -0.0817,
                      "total": 0.6041,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.518737
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.120169
                        },
                        {
                          "name": "goals",
                          "margin": -0.047098
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.038918
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031955
                        }
                      ],
                      "others_margin": -0.081655
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011604384519159794,
                    "model_output": 0.0116,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0108
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0068
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0116,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.442246
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.301505
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.249842
                        },
                        {
                          "name": "rating",
                          "margin": -0.141191
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.09443
                        }
                      ],
                      "others_margin": -0.482703
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2120034247636795,
                    "model_output": 0.212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2964
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0292
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0265
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0733,
                      "total": 0.212,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579399
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.080555
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.079152
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070693
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.050007
                        }
                      ],
                      "others_margin": -0.296789
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.611820220947266,
                    "model_output": 6.6118,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0658
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0176
                        },
                        {
                          "name": "rating",
                          "contribution": -0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0613,
                      "total": 6.6118,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.065766
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.017604
                        },
                        {
                          "name": "rating",
                          "margin": -0.016024
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012429
                        }
                      ],
                      "others_margin": -0.061231
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 2,
                  "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.9997, quality 0.503)",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0867,
                "goal_rate": 0.0867,
                "shots_on_target": 0.2775,
                "total_shots": 0.6039,
                "expected_assists": 0.0116,
                "key_pass": 0.2119,
                "rating": 6.6118,
                "minutes": 17.0,
                "total_pass": 5.5929,
                "accurate_pass": 3.2963,
                "duels_won": 0.9186,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.8372,
                "accurate_opp_half_passes": 0.9186,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7262,
                "possession_lost": 6.1333,
                "dispossessed": 1.378,
                "duels_lost": 3.2152,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.378,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.4594,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4594,
                "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": 1.378,
                "total_progression": 5.9619,
                "progressive_carries": 0.4594,
                "shots_off_target": 0.3264
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 0.9997,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.0 to 25.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1329,
                "goals": 0.13,
                "goal_rate": 0.13,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55
              },
              "params": {
                "expected_minutes": 25.55,
                "projection_minutes": 17.0,
                "minutes_scale": 1.5,
                "appearance_probability": 0.571
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1329,
                "goals": 0.13,
                "goal_rate": 0.13,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55
              },
              "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.1329,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.571
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1329,
                  "after": 0.0718
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0174,
                  "after": 0.0112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.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": 5795,
                "fifa_rank": 7956.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": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0675,
                "goal_rate": 0.13,
                "scorer_weight": 0.0707,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0664,
                "finishing_factor": 0.9841,
                "appearance_weight": 0.571,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0111,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0111,
                "assist_rate": 0.0,
                "provider_weight": 0.009,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0134,
                "creation_factor": 0.8,
                "appearance_weight": 0.571,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Etta Eyong": {
          "player_id": 1393673,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 181,
          "market_value": 15600000,
          "stats": {
            "expected_goals": 0.0738,
            "goal_rate": 0.1789,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0344,
            "key_pass": 0,
            "rating": 6.671,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 5.2226,
            "dispossessed": 0.6746,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.2722,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1467,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.585,
            "bench_expected_minutes": 25.88,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0693,
            "projected_assists": 0,
            "assist_probability": 0.0334,
            "finishing_factor": 1.2481,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0434,
                "expected_assists": 0.2699,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0529,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0109,
                "expected_assists": 0.0111,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 1,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 8,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0568,
                "expected_assists": 0.002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 14,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5614,
                "expected_assists": 0.0475,
                "total_shots": 4,
                "shots_on_target": 4,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 22,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0205,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 18,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7639,
                "expected_assists": 0.0001,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 4,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083265,
              "match_date": "2026-04-23",
              "home_team": "Levante UD",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083182,
              "match_date": "2026-04-13",
              "home_team": "Levante UD",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Getafe",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3474,
            "combined_rank_score": 1464.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2418.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.671,
            "source_file": "data/player_rankings.csv",
            "player_name": "Etta Eyong",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nabil Bentaleb",
                  "ranking": 3469
                },
                {
                  "player_name": "Ludovic Ajorque",
                  "ranking": 3470
                },
                {
                  "player_name": "Jonathan Gradit",
                  "ranking": 3471
                },
                {
                  "player_name": "Ruben Aguilar",
                  "ranking": 3472
                },
                {
                  "player_name": "Arnaut Danjuma",
                  "ranking": 3473
                }
              ],
              "lower": [
                {
                  "player_name": "Thilo Kehrer",
                  "ranking": 3475
                },
                {
                  "player_name": "Takumi Minamino",
                  "ranking": 3476
                },
                {
                  "player_name": "Dani Cárdenas",
                  "ranking": 3477
                },
                {
                  "player_name": "Pierre Lees-Melou",
                  "ranking": 3478
                },
                {
                  "player_name": "Marc Aguado",
                  "ranking": 3479
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.879293251195485,
            "bench_appearance_prob": 0.5854224205088857,
            "market_value_adjustment": 1.003,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (36 historical appearances) to 25.9 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.1189,
                "goal_rate": 0.1189,
                "shots_on_target": 0.3549,
                "total_shots": 0.8201,
                "expected_assists": 0.0347,
                "key_pass": 0.3189,
                "rating": 6.671,
                "minutes": 17.01,
                "total_pass": 3.5017,
                "accurate_pass": 2.2338,
                "duels_won": 1.3829,
                "total_long_balls": 0.1318,
                "accurate_long_balls": 0.1053,
                "total_opp_half_passes": 3.0559,
                "accurate_opp_half_passes": 1.8504,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1585,
                "touches": 8.142,
                "possession_lost": 3.4713,
                "dispossessed": 0.6726,
                "duels_lost": 2.5443,
                "aerial_lost": 0.9007,
                "total_contest": 0.3107,
                "won_contest": 0.0945,
                "ball_recovery": 0.7152,
                "challenges_lost": 0.1308,
                "fouls": 0.6239,
                "fouls_drawn": 0.3321,
                "assists": 0.181,
                "assist_rate": 0.181,
                "interceptions": 0.1425,
                "tackles_won": 0.01,
                "tackles": 0.202,
                "clearances": 0.0693,
                "blocks": 0.0312,
                "big_chances_created": 0.1832,
                "big_chances_missed": 0.211,
                "xgot": 0.1763,
                "offsides": 0.0163,
                "ball_carries": 1.3481,
                "total_progression": 3.1633,
                "progressive_carries": 0.0265,
                "shots_off_target": 0.4652
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Mallorca",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Osasuna",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Villarreal",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Espanyol",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-13",
                    "opponent": "Getafe",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1115,
                  "totalOppositionHalfPasses": 3.3912,
                  "accurateOppositionHalfPasses": 2.0459,
                  "accuratePass": 2.6596,
                  "totalShots": 0.9847
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08861551433801651,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0922
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0109
                        },
                        {
                          "name": "goals",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.004
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0045,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.622613
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.107569
                        },
                        {
                          "name": "goals",
                          "margin": -0.053995
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.044581
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032406
                        }
                      ],
                      "others_margin": 0.052395
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11891406029462814,
                    "model_output": 0.1189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0761
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0174
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.009
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.005,
                      "total": 0.1189,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.467911
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.146514
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.078851
                        },
                        {
                          "name": "goals",
                          "margin": -0.078174
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.033323
                        }
                      ],
                      "others_margin": 0.041936
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3548950254917145,
                    "model_output": 0.3549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2018
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0139
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0132
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0131
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        }
                      ],
                      "others": 0.017,
                      "total": 0.3549,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471233
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.040676
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037164
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036753
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.032933
                        }
                      ],
                      "others_margin": 0.04894
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8200945854187012,
                    "model_output": 0.8201,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0913
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0332
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0294
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0162
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.8201,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.503676
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.091279
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.033157
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.02944
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.016247
                        }
                      ],
                      "others_margin": -0.042501
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03465287759900093,
                    "model_output": 0.0347,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0137
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0029
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0028
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0347,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.239696
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.110412
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.061273
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.059733
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.055316
                        }
                      ],
                      "others_margin": -0.214036
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.31893685460090637,
                    "model_output": 0.3189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2522
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0371
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0176
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.3189,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468684
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.092131
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.075448
                        },
                        {
                          "name": "touches",
                          "margin": -0.059414
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.053884
                        }
                      ],
                      "others_margin": 0.001359
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.670956134796143,
                    "model_output": 6.671,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0503
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0158
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0151
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0165,
                      "total": 6.671,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.050291
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.016854
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015796
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.015051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010406
                        }
                      ],
                      "others_margin": -0.016515
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 36,
                  "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 1.0030, quality 0.586)",
              "stats": {
                "expected_goals": 0.0889,
                "goals": 0.1193,
                "goal_rate": 0.1193,
                "shots_on_target": 0.356,
                "total_shots": 0.8226,
                "expected_assists": 0.0348,
                "key_pass": 0.3199,
                "rating": 6.671,
                "minutes": 17.01,
                "total_pass": 3.5122,
                "accurate_pass": 2.2405,
                "duels_won": 1.387,
                "total_long_balls": 0.1322,
                "accurate_long_balls": 0.1056,
                "total_opp_half_passes": 3.0651,
                "accurate_opp_half_passes": 1.856,
                "crosses_total": 0.2285,
                "crosses_accurate": 0.159,
                "touches": 8.1664,
                "possession_lost": 3.4817,
                "dispossessed": 0.6746,
                "duels_lost": 2.5519,
                "aerial_lost": 0.9034,
                "total_contest": 0.3116,
                "won_contest": 0.0948,
                "ball_recovery": 0.7173,
                "challenges_lost": 0.1312,
                "fouls": 0.6258,
                "fouls_drawn": 0.3331,
                "assists": 0.1815,
                "assist_rate": 0.1815,
                "interceptions": 0.1429,
                "tackles_won": 0.01,
                "tackles": 0.2026,
                "clearances": 0.0695,
                "blocks": 0.0313,
                "big_chances_created": 0.1837,
                "big_chances_missed": 0.2116,
                "xgot": 0.1768,
                "offsides": 0.0163,
                "ball_carries": 1.3521,
                "total_progression": 3.1728,
                "progressive_carries": 0.0266,
                "shots_off_target": 0.4666
              },
              "params": {
                "market_value_eur": 15600000,
                "quality_factor": 0.5857,
                "boost_factor": 1.003,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.0 to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assists": 0.2722,
                "assist_rate": 0.2722,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "params": {
                "expected_minutes": 25.88,
                "projection_minutes": 17.01,
                "minutes_scale": 1.5,
                "appearance_probability": 0.585
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assists": 0.2722,
                "assist_rate": 0.2722,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "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.1334,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0522,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.2652,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.585
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1334,
                  "after": 0.0738
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0522,
                  "after": 0.0344
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.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": 3474,
                "fifa_rank": 2418.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": {
                "expected_goals": 0.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0693,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0693,
                "goal_rate": 0.1789,
                "scorer_weight": 0.0921,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0865,
                "finishing_factor": 1.2481,
                "appearance_weight": 0.585,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0738,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.534,
                "total_shots": 1.2339,
                "expected_assists": 0.0344,
                "key_pass": 0.4798,
                "rating": 6.671,
                "minutes": 25.88,
                "total_pass": 5.2683,
                "accurate_pass": 3.3607,
                "duels_won": 2.0805,
                "total_long_balls": 0.1983,
                "accurate_long_balls": 0.1584,
                "total_opp_half_passes": 4.5976,
                "accurate_opp_half_passes": 2.784,
                "crosses_total": 0.3427,
                "crosses_accurate": 0.2385,
                "touches": 12.2496,
                "possession_lost": 5.2226,
                "dispossessed": 0.6746,
                "duels_lost": 3.8278,
                "aerial_lost": 0.9034,
                "total_contest": 0.4674,
                "won_contest": 0.1422,
                "ball_recovery": 1.076,
                "challenges_lost": 0.1312,
                "fouls": 0.9387,
                "fouls_drawn": 0.4997,
                "assist_rate": 0.2722,
                "assists": 0,
                "interceptions": 0.2143,
                "tackles_won": 0.015,
                "tackles": 0.3039,
                "clearances": 0.1043,
                "blocks": 0.047,
                "big_chances_created": 0.2756,
                "big_chances_missed": 0.3174,
                "xgot": 0.1467,
                "offsides": 0.0163,
                "ball_carries": 2.0282,
                "total_progression": 4.7592,
                "progressive_carries": 0.0399,
                "shots_off_target": 0.6999,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0693,
                "projected_assists": 0,
                "assist_probability": 0.0334,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0334,
                "assist_rate": 0.2722,
                "provider_weight": 0.043,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0645,
                "creation_factor": 1.25,
                "appearance_weight": 0.585,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Petar Ratkov": {
          "player_id": 1101942,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "expected_goals": 0.0718,
            "goal_rate": 0.13,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0112,
            "key_pass": 0,
            "rating": 6.6118,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 9.2,
            "dispossessed": 1.378,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "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": 9,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.571,
            "bench_expected_minutes": 25.55,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0675,
            "projected_assists": 0,
            "assist_probability": 0.0111,
            "finishing_factor": 0.9841,
            "creation_factor": 0.8,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 17122851,
              "match_date": "2026-10-21 18:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Athletic Club",
              "home_score_current": 3.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Athletic Club",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421063,
              "match_date": "2026-10-12 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Levante",
              "away_team": "Sevilla",
              "home_score_current": 3.0,
              "away_score_current": 3.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Levante",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1324,
                "expected_assists": 0.0281,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 8,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 11,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0009,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 6,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 5795,
            "combined_rank_score": 4058.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 7956.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6118,
            "source_file": "data/player_rankings.csv",
            "player_name": "Petar Ratkov",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samuel Mráz",
                  "ranking": 5790
                },
                {
                  "player_name": "José Sagredo",
                  "ranking": 5791
                },
                {
                  "player_name": "Jahmai Simpson-Pusey",
                  "ranking": 5792
                },
                {
                  "player_name": "Keisuke Gotō",
                  "ranking": 5793
                },
                {
                  "player_name": "Baltasar Barcia",
                  "ranking": 5794
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoube Amaimouni",
                  "ranking": 5796
                },
                {
                  "player_name": "Robert Skov",
                  "ranking": 5797
                },
                {
                  "player_name": "Jonathan Perlaza",
                  "ranking": 5798
                },
                {
                  "player_name": "Juan Manuel Elordi",
                  "ranking": 5799
                },
                {
                  "player_name": "Marvin Friedrich",
                  "ranking": 5800
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.553793669464316,
            "bench_appearance_prob": 0.5706269849756507,
            "market_value_adjustment": 0.9997,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0867,
                "goal_rate": 0.0867,
                "shots_on_target": 0.2775,
                "total_shots": 0.6041,
                "expected_assists": 0.0116,
                "key_pass": 0.212,
                "rating": 6.6118,
                "minutes": 17.0,
                "total_pass": 5.5946,
                "accurate_pass": 3.2973,
                "duels_won": 0.9189,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.8378,
                "accurate_opp_half_passes": 0.9189,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7297,
                "possession_lost": 6.1351,
                "dispossessed": 1.3784,
                "duels_lost": 3.2162,
                "aerial_lost": 1.3784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3784,
                "challenges_lost": 0.4595,
                "fouls": 0.0,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4595,
                "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": 1.3784,
                "total_progression": 5.9637,
                "progressive_carries": 0.4595,
                "shots_off_target": 0.3265
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0386,
                  "totalOppositionHalfPasses": 1.8378,
                  "accurateOppositionHalfPasses": 0.9189,
                  "accuratePass": 3.2973,
                  "totalShots": 0.4595
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08858496695756912,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0855
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0141
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0079
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562094
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.132306
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.082548
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.082487
                        },
                        {
                          "name": "goals",
                          "margin": -0.068128
                        }
                      ],
                      "others_margin": -0.046526
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08673689514398575,
                    "model_output": 0.0867,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0774
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.009
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.007
                        }
                      ],
                      "others": 0.0049,
                      "total": 0.0867,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.477864
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.180643
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089417
                        },
                        {
                          "name": "goals",
                          "margin": -0.082548
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.082092
                        }
                      ],
                      "others_margin": 0.058553
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2775401175022125,
                    "model_output": 0.2775,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2101
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0218
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0187
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0147
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0125
                        }
                      ],
                      "others": 0.0183,
                      "total": 0.2775,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496452
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.069185
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.063319
                        },
                        {
                          "name": "goals",
                          "margin": -0.052702
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.046983
                        }
                      ],
                      "others_margin": 0.068646
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.604084312915802,
                    "model_output": 0.6041,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5187
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1202
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0471
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0389
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.032
                        }
                      ],
                      "others": -0.0817,
                      "total": 0.6041,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.518737
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.120169
                        },
                        {
                          "name": "goals",
                          "margin": -0.047098
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.038918
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031955
                        }
                      ],
                      "others_margin": -0.081655
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011604384519159794,
                    "model_output": 0.0116,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0108
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0068
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0116,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.442246
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.301505
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.249842
                        },
                        {
                          "name": "rating",
                          "margin": -0.141191
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.09443
                        }
                      ],
                      "others_margin": -0.482703
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2120034247636795,
                    "model_output": 0.212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2964
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0292
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0265
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0733,
                      "total": 0.212,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579399
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.080555
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.079152
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070693
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.050007
                        }
                      ],
                      "others_margin": -0.296789
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.611820220947266,
                    "model_output": 6.6118,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0658
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0176
                        },
                        {
                          "name": "rating",
                          "contribution": -0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0613,
                      "total": 6.6118,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.065766
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.017604
                        },
                        {
                          "name": "rating",
                          "margin": -0.016024
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012429
                        }
                      ],
                      "others_margin": -0.061231
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 2,
                  "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.9997, quality 0.503)",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0867,
                "goal_rate": 0.0867,
                "shots_on_target": 0.2775,
                "total_shots": 0.6039,
                "expected_assists": 0.0116,
                "key_pass": 0.2119,
                "rating": 6.6118,
                "minutes": 17.0,
                "total_pass": 5.5929,
                "accurate_pass": 3.2963,
                "duels_won": 0.9186,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.8372,
                "accurate_opp_half_passes": 0.9186,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7262,
                "possession_lost": 6.1333,
                "dispossessed": 1.378,
                "duels_lost": 3.2152,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.378,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.4594,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4594,
                "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": 1.378,
                "total_progression": 5.9619,
                "progressive_carries": 0.4594,
                "shots_off_target": 0.3264
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 0.9997,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.0 to 25.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1329,
                "goals": 0.13,
                "goal_rate": 0.13,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55
              },
              "params": {
                "expected_minutes": 25.55,
                "projection_minutes": 17.0,
                "minutes_scale": 1.5,
                "appearance_probability": 0.571
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1329,
                "goals": 0.13,
                "goal_rate": 0.13,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55
              },
              "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.1329,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0174,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.571
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1329,
                  "after": 0.0718
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0174,
                  "after": 0.0112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.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": 5795,
                "fifa_rank": 7956.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": {
                "expected_goals": 0.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0675,
                "goal_rate": 0.13,
                "scorer_weight": 0.0707,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0664,
                "finishing_factor": 0.9841,
                "appearance_weight": 0.571,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.0718,
                "goal_rate": 0.13,
                "goals": 0,
                "shots_on_target": 0.4163,
                "total_shots": 0.9059,
                "expected_assists": 0.0112,
                "key_pass": 0.3179,
                "rating": 6.6118,
                "minutes": 25.55,
                "total_pass": 8.3894,
                "accurate_pass": 4.9444,
                "duels_won": 1.3779,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.7558,
                "accurate_opp_half_passes": 1.3779,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5893,
                "possession_lost": 9.2,
                "dispossessed": 1.378,
                "duels_lost": 4.8228,
                "aerial_lost": 1.378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.067,
                "challenges_lost": 0.4594,
                "fouls": 0.0,
                "fouls_drawn": 0.6891,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.6891,
                "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.067,
                "total_progression": 8.9428,
                "progressive_carries": 0.6891,
                "shots_off_target": 0.4896,
                "bench_appearance_probability": 0.571,
                "bench_expected_minutes": 25.55,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0111,
                "finishing_factor": 0.9841,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0111,
                "assist_rate": 0.0,
                "provider_weight": 0.009,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0134,
                "creation_factor": 0.8,
                "appearance_weight": 0.571,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Enzo Bardeli": {
          "player_id": 996974,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 172,
          "market_value": 5800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0238,
            "assist_rate": 0.049,
            "assists": 0,
            "expected_goals": 0.0075,
            "goal_rate": 0.0169,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6474,
            "minutes": 22,
            "total_pass": 14,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 22,
            "possession_lost": 5.5542,
            "dispossessed": 0.5602,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0028,
            "ball_carries": 6,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.505,
            "bench_expected_minutes": 22.11,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.291,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0074,
            "projected_assists": 0,
            "assist_probability": 0.0232,
            "finishing_factor": 1.0167,
            "creation_factor": 1.0773,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421070,
              "match_date": "2026-10-16 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Deportivo",
              "away_team": "Levante",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Levante",
              "opponent": "Deportivo",
              "stats": {
                "minutes": 47,
                "rating": 6.4,
                "expected_goals": 0.1358,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 13,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0501,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 77,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0658,
                "expected_assists": 0.1481,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 65,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0193,
                "expected_assists": 0.1563,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "tackles_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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Levante UD",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1452,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Levante UD",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4002,
            "combined_rank_score": 1982.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3520.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6474,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Bardeli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Junior Sornoza",
                  "ranking": 3997
                },
                {
                  "player_name": "Tai Baribo",
                  "ranking": 3998
                },
                {
                  "player_name": "Claudio Echeverri",
                  "ranking": 3999
                },
                {
                  "player_name": "Turrientes",
                  "ranking": 4000
                },
                {
                  "player_name": "Agirrezabala",
                  "ranking": 4001
                }
              ],
              "lower": [
                {
                  "player_name": "Andrés García",
                  "ranking": 4003
                },
                {
                  "player_name": "Antoni Milambo",
                  "ranking": 4004
                },
                {
                  "player_name": "Loum Tchaouna",
                  "ranking": 4005
                },
                {
                  "player_name": "Marco Grüll",
                  "ranking": 4006
                },
                {
                  "player_name": "Soungoutou Magassa",
                  "ranking": 4007
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "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.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.109104686408813,
            "bench_appearance_prob": 0.5049593039276733,
            "market_value_adjustment": 0.9955,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (6 historical appearances) to 22.1 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4893,
                "expected_assists": 0.0538,
                "assists": 0.0629,
                "assist_rate": 0.0629,
                "expected_goals": 0.0203,
                "goals": 0.0217,
                "goal_rate": 0.0217,
                "shots_on_target": 0.101,
                "total_shots": 0.311,
                "rating": 6.6474,
                "minutes": 28.22,
                "total_pass": 18.1863,
                "accurate_pass": 15.1096,
                "duels_won": 1.9982,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.2047,
                "total_own_half_passes": 8.0802,
                "accurate_own_half_passes": 7.068,
                "total_opp_half_passes": 10.106,
                "accurate_opp_half_passes": 8.0414,
                "crosses_total": 2.2667,
                "crosses_accurate": 0.6523,
                "touches": 27.7691,
                "possession_lost": 7.1214,
                "dispossessed": 0.5627,
                "duels_lost": 3.1862,
                "aerial_won": 0.0,
                "aerial_lost": 0.5366,
                "interceptions": 0.7267,
                "tackles_won": 0.8263,
                "tackles": 1.2411,
                "clearances": 0.0,
                "total_contest": 0.6195,
                "won_contest": 0.4455,
                "challenges_lost": 1.0364,
                "fouls": 0.8764,
                "fouls_drawn": 0.3116,
                "blocks": 0.2408,
                "big_chances_created": 0.1257,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "ball_carries": 7.1027,
                "total_progression": 23.7635,
                "progressive_carries": 0.7659,
                "shots_off_target": 0.21
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Villarreal",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Málaga CF",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Betis",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.3219,
                  "creative_index": 0.547,
                  "expectedGoals": 0.0143,
                  "expectedAssists": 0.0798,
                  "onTargetScoringAttempt": 0.1479
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.48932212591171265,
                    "model_output": 0.4893,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4154
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0319
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0232
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0167
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.4893,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.632481
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.065628
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.045106
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.037729
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.033489
                        }
                      ],
                      "others_margin": -0.000954
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0537576898932457,
                    "model_output": 0.0538,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0356
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0026
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.0538,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535295
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.113143
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.057099
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.045107
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.042113
                        }
                      ],
                      "others_margin": -0.014948
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06289385259151459,
                    "model_output": 0.0629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0216
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0035
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0629,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.292182
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.111697
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.070171
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.056263
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.054172
                        }
                      ],
                      "others_margin": -0.080629
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.020318271592259407,
                    "model_output": 0.0203,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.045
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.002
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0033,
                      "total": 0.0203,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.647241
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.418695
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.180974
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07522
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.061385
                        }
                      ],
                      "others_margin": -0.152803
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.021679984405636787,
                    "model_output": 0.0217,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0339
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0217,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425805
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.295125
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.224702
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.08243
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.0793
                        }
                      ],
                      "others_margin": -0.397592
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10100987553596497,
                    "model_output": 0.101,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1436
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0471
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0231
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0088
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.101,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.58553
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.302698
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.190407
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083389
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.040119
                        }
                      ],
                      "others_margin": -0.043593
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3109760284423828,
                    "model_output": 0.311,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3663
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0413
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0358
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0259
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.311,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366344
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.183818
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041282
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035831
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.025913
                        }
                      ],
                      "others_margin": -0.026301
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.647401332855225,
                    "model_output": 6.6474,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0633
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0387
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0271
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0253
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.03,
                      "total": 6.6474,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.063321
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.038707
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.027064
                        },
                        {
                          "name": "rating",
                          "margin": -0.025294
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.017068
                        }
                      ],
                      "others_margin": -0.030016
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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.9955, quality 0.472)",
              "stats": {
                "key_pass": 0.4871,
                "expected_assists": 0.0535,
                "assists": 0.0626,
                "assist_rate": 0.0626,
                "expected_goals": 0.0202,
                "goals": 0.0216,
                "goal_rate": 0.0216,
                "shots_on_target": 0.1006,
                "total_shots": 0.3097,
                "rating": 6.6474,
                "minutes": 28.22,
                "total_pass": 18.1045,
                "accurate_pass": 15.0416,
                "duels_won": 1.9892,
                "total_long_balls": 0.3289,
                "accurate_long_balls": 0.2038,
                "total_own_half_passes": 8.0438,
                "accurate_own_half_passes": 7.0362,
                "total_opp_half_passes": 10.0605,
                "accurate_opp_half_passes": 8.0052,
                "crosses_total": 2.2565,
                "crosses_accurate": 0.6494,
                "touches": 27.6441,
                "possession_lost": 7.0894,
                "dispossessed": 0.5602,
                "duels_lost": 3.1719,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.7234,
                "tackles_won": 0.8226,
                "tackles": 1.2355,
                "clearances": 0.0,
                "total_contest": 0.6167,
                "won_contest": 0.4435,
                "challenges_lost": 1.0317,
                "fouls": 0.8725,
                "fouls_drawn": 0.3102,
                "blocks": 0.2397,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "ball_carries": 7.0707,
                "total_progression": 23.6566,
                "progressive_carries": 0.7625,
                "shots_off_target": 0.2091
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9955,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.2 to 22.1 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0419,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.0158,
                "goals": 0.0169,
                "goal_rate": 0.0169,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "expected_minutes": 22.11,
                "projection_minutes": 28.22,
                "minutes_scale": 0.7835,
                "appearance_probability": 0.505
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0419,
                "assists": 0.049,
                "assist_rate": 0.049,
                "expected_goals": 0.0158,
                "goals": 0.0169,
                "goal_rate": 0.0169,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11
              },
              "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.3816,
                "expected_assists": 0.0419,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0158,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.04 (squad xG sum 1.0996, xG scale 0.9458, xA scale 1.1262, team xA 0.68 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773
              },
              "params": {
                "team_lambda": 1.04,
                "squad_xg_sum": 1.0996,
                "squad_xa_sum": 0.6002,
                "team_expected_assists": 0.676,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9458,
                "xa_scale": 1.1262,
                "opponent_lambda": 1.944,
                "scoreline_reset": true,
                "appearance_weight": 0.505
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0158,
                  "after": 0.0075
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0419,
                  "after": 0.0238
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.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": 4002,
                "fifa_rank": 3520.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0074,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0074,
                "goal_rate": 0.0169,
                "scorer_weight": 0.0076,
                "squad_weight_total": 1.0647,
                "weight_share": 0.0072,
                "finishing_factor": 1.0167,
                "appearance_weight": 0.505,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iván Romero",
                    "weight": 0.3021,
                    "already": 0,
                    "effective_weight": 0.3021,
                    "runner_up": "Roger Brugué",
                    "runner_up_effective_weight": 0.2608
                  }
                ]
              }
            },
            {
              "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.3816,
                "expected_assists": 0.0238,
                "assist_rate": 0.049,
                "assists": 0,
                "expected_goals": 0.0075,
                "goal_rate": 0.0169,
                "goals": 0,
                "shots_on_target": 0.0788,
                "total_shots": 0.2426,
                "rating": 6.6474,
                "minutes": 22.11,
                "total_pass": 14.1841,
                "accurate_pass": 11.7844,
                "duels_won": 1.5584,
                "total_long_balls": 0.2577,
                "accurate_long_balls": 0.1597,
                "total_own_half_passes": 6.302,
                "accurate_own_half_passes": 5.5125,
                "total_opp_half_passes": 7.882,
                "accurate_opp_half_passes": 6.2717,
                "crosses_total": 1.7679,
                "crosses_accurate": 0.5088,
                "touches": 21.6579,
                "possession_lost": 5.5542,
                "dispossessed": 0.5602,
                "duels_lost": 2.485,
                "aerial_won": 0.0,
                "aerial_lost": 0.5342,
                "interceptions": 0.5668,
                "tackles_won": 0.6445,
                "tackles": 0.968,
                "clearances": 0.0,
                "total_contest": 0.4832,
                "won_contest": 0.3475,
                "challenges_lost": 1.0317,
                "fouls": 0.6836,
                "fouls_drawn": 0.243,
                "blocks": 0.1878,
                "big_chances_created": 0.098,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.5396,
                "total_progression": 18.5339,
                "progressive_carries": 0.5974,
                "shots_off_target": 0.1638,
                "bench_appearance_probability": 0.505,
                "bench_expected_minutes": 22.11,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.291,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0074,
                "projected_assists": 0,
                "assist_probability": 0.0232,
                "finishing_factor": 1.0167,
                "creation_factor": 1.0773,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0232,
                "assist_rate": 0.049,
                "provider_weight": 0.0256,
                "squad_weight_total": 0.6667,
                "weight_share": 0.0385,
                "creation_factor": 1.0773,
                "appearance_weight": 0.505,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jon Ander Olasagasti",
                    "weight": 0.1633,
                    "already": 0,
                    "effective_weight": 0.1633,
                    "runner_up": "Jeremy Toljan",
                    "runner_up_effective_weight": 0.1022,
                    "blocked_own_goal": [
                      "Iván Romero"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.04,
        "expected_assists": 0.68,
        "total_shots": 11,
        "shots_on_target": 3,
        "total_passes": 311,
        "interceptions": 8,
        "tackles": 15,
        "avg_rating": 6.8,
        "possession_estimated_pct": 49.0,
        "pressing_actions_per_90": 6.0
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Orri Óskarsson",
        "attacker_role": "ST",
        "attacker_market_value": 21000000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.641,
        "defenders": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.264,
        "xg_contribution": 0.4168,
        "xg_multiplier": 1.094,
        "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": "Aïssa Mandi",
            "role": "CB",
            "market_value": 1100000,
            "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.736
          },
          {
            "player": "Ifeanyi Ndukwe",
            "role": "CB",
            "market_value": 3200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.736
          }
        ],
        "duel_analysis": "Orri Óskarsson (ST) is slightly favored against Aïssa Mandi and Ifeanyi Ndukwe in a 2-defender block. Duel win probability: 26%. The quality gap is significant (€21M vs €2M avg). Matchup xG multiplier ×1.09 (×1.00 = his usual level). Projected xG contribution: 0.417 — creating consistent moderate threat."
      },
      {
        "attacker": "Mikel Oyarzabal",
        "attacker_role": "ST",
        "attacker_market_value": 27000000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.694,
        "defenders": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.268,
        "xg_contribution": 0.2332,
        "xg_multiplier": 1.0999,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Aïssa Mandi",
            "role": "CB",
            "market_value": 1100000,
            "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.732
          },
          {
            "player": "Ifeanyi Ndukwe",
            "role": "CB",
            "market_value": 3200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.732
          }
        ],
        "duel_analysis": "Mikel Oyarzabal (ST) is slightly favored against Aïssa Mandi and Ifeanyi Ndukwe in a 2-defender block. Duel win probability: 27%. The quality gap is significant (€27M vs €2M avg). Matchup xG multiplier ×1.10 (×1.00 = his usual level). Projected xG contribution: 0.233 — creating consistent moderate threat."
      },
      {
        "attacker": "Ander Barrenetxea",
        "attacker_role": "ST",
        "attacker_market_value": 17200000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.603,
        "defenders": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.211,
        "xg_contribution": 0.1612,
        "xg_multiplier": 1.0159,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Aïssa Mandi",
            "role": "CB",
            "market_value": 1100000,
            "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.789
          },
          {
            "player": "Ifeanyi Ndukwe",
            "role": "CB",
            "market_value": 3200000,
            "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.789
          }
        ],
        "duel_analysis": "Ander Barrenetxea (ST) is evenly matched against Aïssa Mandi and Ifeanyi Ndukwe in a 2-defender block. Duel win probability: 21%. The quality gap is significant (€17M vs €2M avg). Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.161 — with neither side clearly dominant."
      },
      {
        "attacker": "Takefusa Kubo",
        "attacker_role": "ST",
        "attacker_market_value": 21000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.641,
        "defenders": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.228,
        "xg_contribution": 0.1398,
        "xg_multiplier": 1.0411,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Aïssa Mandi",
            "role": "CB",
            "market_value": 1100000,
            "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.772
          },
          {
            "player": "Ifeanyi Ndukwe",
            "role": "CB",
            "market_value": 3200000,
            "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.772
          }
        ],
        "duel_analysis": "Takefusa Kubo (ST) is evenly matched against Aïssa Mandi and Ifeanyi Ndukwe in a 2-defender block. Duel win probability: 23%. The quality gap is significant (€21M vs €2M avg). Matchup xG multiplier ×1.04 (×1.00 = his usual level). Projected xG contribution: 0.140 — with neither side clearly dominant."
      },
      {
        "attacker": "Carlos Soler",
        "attacker_role": "LM",
        "attacker_market_value": 6600000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Jeremy Toljan"
        ],
        "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.476,
        "xg_contribution": 0.1158,
        "xg_multiplier": 1.0234,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.1,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jeremy Toljan",
            "role": "RB",
            "market_value": 1900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.524
          }
        ],
        "duel_analysis": "Carlos Soler (LM) is evenly matched against Jeremy Toljan in a direct 1v1 contest. Duel win probability: 48%.  Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.116 — with neither side clearly dominant."
      },
      {
        "attacker": "Beñat Turrientes",
        "attacker_role": "CM",
        "attacker_market_value": 10600000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.529,
        "defenders": [
          "Oriol Rey",
          "Daniel Requena"
        ],
        "defender_roles": [
          "CDM",
          "CM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "CM vs CDM + CM",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.342,
        "xg_contribution": 0.0596,
        "xg_multiplier": 1.0611,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Oriol Rey",
            "role": "CDM",
            "market_value": 1700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.658
          },
          {
            "player": "Daniel Requena",
            "role": "CM",
            "market_value": 1500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.658
          }
        ],
        "duel_analysis": "Beñat Turrientes (CM) is slightly favored against Oriol Rey and Daniel Requena in a 2-defender block. Duel win probability: 34%.  Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.060 — creating consistent moderate threat."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Iván Romero",
        "attacker_role": "LW",
        "attacker_market_value": 7400000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.491,
        "defenders": [
          "Sergio Gómez"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.575,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.417,
        "xg_contribution": 0.3228,
        "xg_multiplier": 0.908,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Sergio Gómez",
            "role": "RB",
            "market_value": 14600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.583
          }
        ],
        "duel_analysis": "Iván Romero (LW) faces tough defensive resistance against Sergio Gómez in a direct 1v1 contest. Duel win probability: 42%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.323 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Víctor García",
        "attacker_role": "RW",
        "attacker_market_value": 1500000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Jon Martin"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.309,
        "xg_contribution": 0.1072,
        "xg_multiplier": 0.7479,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Jon Martin",
            "role": "LB",
            "market_value": 24000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.691
          }
        ],
        "duel_analysis": "Víctor García (RW) is heavily outmatched defensively against Jon Martin in a direct 1v1 contest. Duel win probability: 31%. The quality gap is significant (€2M vs €24M avg). Matchup xG multiplier ×0.75 (×1.00 = his usual level). Projected xG contribution: 0.107 — with very limited chance creation expected."
      },
      {
        "attacker": "Roger Brugué",
        "attacker_role": "ST",
        "attacker_market_value": 2800000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Héctor Fort",
          "Mamadou Sarr"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.622,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2675,
        "xg_multiplier": 0.7521,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Héctor Fort",
            "role": "CB",
            "market_value": 14600000,
            "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.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mamadou Sarr",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Roger Brugué (ST) is heavily outmatched defensively against Héctor Fort and Mamadou Sarr in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€3M vs €19M avg). Matchup xG multiplier ×0.75 (×1.00 = his usual level). Projected xG contribution: 0.268 — with very limited chance creation expected."
      },
      {
        "attacker": "Oriol Rey",
        "attacker_role": "CDM",
        "attacker_market_value": 1700000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Beñat Turrientes"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.529,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.336,
        "xg_contribution": 0.0352,
        "xg_multiplier": 0.9066,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Beñat Turrientes",
            "role": "CM",
            "market_value": 10600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.664
          }
        ],
        "duel_analysis": "Oriol Rey (CDM) faces tough defensive resistance against Beñat Turrientes in a direct 1v1 contest. Duel win probability: 34%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.035 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Daniel Requena",
        "attacker_role": "CM",
        "attacker_market_value": 1500000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Beñat Turrientes"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.529,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.4,
        "xg_contribution": 0.0487,
        "xg_multiplier": 0.9713,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Beñat Turrientes",
            "role": "CM",
            "market_value": 10600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.6
          }
        ],
        "duel_analysis": "Daniel Requena (CM) is evenly matched against Beñat Turrientes in a direct 1v1 contest. Duel win probability: 40%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.049 — with neither side clearly dominant."
      },
      {
        "attacker": "Jon Ander Olasagasti",
        "attacker_role": "CM",
        "attacker_market_value": 2700000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Beñat Turrientes"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.529,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.36,
        "xg_contribution": 0.1172,
        "xg_multiplier": 0.9125,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Beñat Turrientes",
            "role": "CM",
            "market_value": 10600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.64
          }
        ],
        "duel_analysis": "Jon Ander Olasagasti (CM) faces tough defensive resistance against Beñat Turrientes in a direct 1v1 contest. Duel win probability: 36%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.117 — and is restricted in space and time on the ball."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.481,
      "away_midfield_power": 0.437,
      "home_creative_power": 0.502,
      "away_creative_power": 0.416,
      "home_defensive_power": 0.45,
      "away_defensive_power": 0.372,
      "home_dominance_ratio": 0.524,
      "home_midfield_count": 2,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Beñat Turrientes",
        "Carlos Soler"
      ],
      "away_midfield_players": [
        "Daniel Requena",
        "Oriol Rey",
        "Jon Ander Olasagasti"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 51.0,
      "estimated_possession_away_pct": 49.0,
      "home_pressing_actions_per_90": 6.5,
      "away_pressing_actions_per_90": 6.0,
      "home_key_passes_projected": 4.5,
      "away_key_passes_projected": 4.0,
      "home_throughball_threat": 2.1,
      "away_throughball_threat": 1.8,
      "key_personal_duel": "Beñat Turrientes vs Jon Ander Olasagasti",
      "midfield_lambda_factor_home": 1.016,
      "midfield_lambda_factor_away": 0.992
    },
    "formation_analysis": {
      "home_formation": "4-4-2",
      "away_formation": "4-3-3",
      "home_tactical_bonus": -0.05,
      "away_tactical_bonus": 0.05,
      "formation_verdict": "Tactical parity between 4-4-2 and 4-3-3. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.944,
    "away_lambda": 1.04,
    "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": [
      "Left Wing vs Right Back — Flank Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Orri Óskarsson": {
        "opponents": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Mikel Oyarzabal": {
        "opponents": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ander Barrenetxea": {
        "opponents": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Takefusa Kubo": {
        "opponents": [
          "Aïssa Mandi",
          "Ifeanyi Ndukwe"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Carlos Soler": {
        "opponents": [
          "Jeremy Toljan",
          "Daniel Requena"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Beñat Turrientes": {
        "opponents": [
          "Oriol Rey",
          "Daniel Requena",
          "Jon Ander Olasagasti"
        ],
        "primary_zone": "CM vs CDM + CM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Sergio Gómez": {
        "opponents": [
          "Iván Romero"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Jon Martin": {
        "opponents": [
          "Víctor García"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Héctor Fort": {
        "opponents": [
          "Roger Brugué"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Mamadou Sarr": {
        "opponents": [
          "Roger Brugué"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Álex Remiro": {
        "opponents": [
          "Iván Romero",
          "Víctor García"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Aïssa Mandi": {
        "opponents": [
          "Orri Óskarsson",
          "Mikel Oyarzabal",
          "Ander Barrenetxea",
          "Takefusa Kubo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ifeanyi Ndukwe": {
        "opponents": [
          "Orri Óskarsson",
          "Mikel Oyarzabal",
          "Ander Barrenetxea",
          "Takefusa Kubo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Jeremy Toljan": {
        "opponents": [
          "Carlos Soler"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Oriol Rey": {
        "opponents": [
          "Beñat Turrientes"
        ],
        "primary_zone": "CM vs CDM + CM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Daniel Requena": {
        "opponents": [
          "Beñat Turrientes",
          "Carlos Soler"
        ],
        "primary_zone": "CM vs CDM + CM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Iván Romero": {
        "opponents": [
          "Sergio Gómez"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Víctor García": {
        "opponents": [
          "Jon Martin"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Roger Brugué": {
        "opponents": [
          "Héctor Fort",
          "Mamadou Sarr"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jon Ander Olasagasti": {
        "opponents": [
          "Beñat Turrientes"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Mathew Ryan": {
        "opponents": [
          "Mikel Oyarzabal",
          "Orri Óskarsson"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Manuel Sánchez": {
        "opponents": [
          "Takefusa Kubo"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Beñat Turrientes vs Jon Ander Olasagasti will be the pivotal duel. Total antagonist xG — Home: 1.13, Away: 0.90. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Left Wing vs Right Back — Flank Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.3418,
      "ha_source": "estimated:league",
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 0.9777,
      "home_set_piece_bonus": 0.087,
      "away_set_piece_bonus": 0.102,
      "home_defensive_solidity_vs": 1.0025,
      "away_defensive_solidity_vs": 0.9436,
      "home_midfield_factor": 1.016,
      "away_midfield_factor": 0.992,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.6076,
      "away_avg_quality": 0.4473,
      "avg_quality_gap": 0.1604,
      "squad_value_gap_log": 1.5563,
      "top5_value_gap_log": 1.3629,
      "attack_value_gap_log": 1.4131,
      "elite_count_gap": 0,
      "combined_quality_gap": 0.3431,
      "stronger_lambda_boost": 0.1887,
      "weaker_lambda_suppression": 0.1098,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.1264,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.1823
        },
        {
          "label": "midfield_factor",
          "factor": 1.016,
          "result": 1.2012
        },
        {
          "label": "formation_bonus",
          "factor": 0.95,
          "result": 1.1412
        },
        {
          "label": "home_advantage",
          "factor": 1.3418,
          "result": 1.5312
        },
        {
          "label": "standing_factor",
          "factor": 1.1159,
          "result": 1.7086
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.7268
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0025,
          "result": 1.7312
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.087,
          "result": 1.8182
        },
        {
          "label": "engine_clamp",
          "pre": 1.8182,
          "result": 1.8182,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3431,
          "factor": 1.1887,
          "pre": 1.8182,
          "result": 2.1613
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 2.1613
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1676,
          "result": 2.3286
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9278,
          "result": 2.0092
        },
        {
          "label": "router_clamp",
          "pre": 2.0092,
          "result": 2.009,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": false,
          "factor": 1.0,
          "result": 2.009
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0071,
          "pre": 2.009,
          "result": 2.0233,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.0908,
          "pre": 2.0233,
          "result": 2.207
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 2.207
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9528,
          "input_total": 3.152,
          "result": 2.1029
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 2.1029,
          "result": 2.103,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.947,
          "observed_total_goals": 2.984,
          "result": 1.944
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.8986,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.0114
        },
        {
          "label": "midfield_factor",
          "factor": 0.992,
          "result": 1.0034
        },
        {
          "label": "formation_bonus",
          "factor": 1.05,
          "result": 1.0535
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 1.0535
        },
        {
          "label": "standing_factor",
          "factor": 1.0498,
          "result": 1.106
        },
        {
          "label": "gk_opposition",
          "factor": 0.9777,
          "result": 1.0814
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9436,
          "result": 1.0204
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.102,
          "result": 1.1224
        },
        {
          "label": "engine_clamp",
          "pre": 1.1224,
          "result": 1.1224,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3431,
          "factor": 0.8902,
          "pre": 1.1224,
          "result": 0.9992
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.9992
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.2,
          "result": 1.199
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9259,
          "result": 1.1367
        },
        {
          "label": "router_clamp",
          "pre": 1.1367,
          "result": 1.137,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": false,
          "factor": 1.0,
          "result": 1.137
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9929,
          "pre": 1.137,
          "result": 1.1289,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9757,
          "pre": 1.1289,
          "result": 1.101
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.101
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9528,
          "input_total": 3.152,
          "result": 1.0491
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.0491,
          "result": 1.049,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.947,
          "observed_total_goals": 2.984,
          "result": 1.04
        }
      ],
      "home_bench_lambda_bonus": 0.1676,
      "away_bench_lambda_bonus": 0.2,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Real Sociedad",
        "away_squad": "Levante UD",
        "home_goals_per90": 0.75,
        "away_goals_against_per90": 1.67,
        "away_goals_per90": 1.6666666666666667,
        "home_goals_against_per90": 0.75,
        "home_empirical_lambda": 0.928,
        "away_empirical_lambda": 0.926,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.3431,
      "mismatch_favorite_lambda_boost": 1.0908,
      "mismatch_underdog_lambda_factor": 0.9757,
      "pre_mismatch_home_lambda": 2.0233,
      "pre_mismatch_away_lambda": 1.1289,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 2.207,
      "pre_competitive_floor_away_lambda": 1.101,
      "pre_calibration_home_lambda": 2.0092,
      "pre_calibration_away_lambda": 1.1367,
      "competition_calibration_applied": true,
      "competition_calibration_reason": "competition_intensity_calibration",
      "competition_calibration_samples": 124,
      "competition_observed_total_goals": 2.984,
      "competition_calibration_scale": 0.947,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.944,
      "final_away_lambda": 1.04
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 5,
    "opponent_position": 17,
    "standing_lambda_multiplier": 1.1159,
    "attack_index": 1.154,
    "defense_concede_index": 1.121,
    "form_multiplier": 1.029,
    "team_attack_rate_contextual": 1.77,
    "opp_defense_rate_contextual": 1.72,
    "team_ppg": 1.61,
    "opponent_ppg": 1.08
  },
  "away_standing": {
    "available": true,
    "team_position": 17,
    "opponent_position": 5,
    "standing_lambda_multiplier": 1.0498,
    "attack_index": 0.991,
    "defense_concede_index": 1.154,
    "form_multiplier": 0.971,
    "team_attack_rate_contextual": 1.52,
    "opp_defense_rate_contextual": 1.77,
    "team_ppg": 1.08,
    "opponent_ppg": 1.61
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Sociedad vs Levante. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-4-2 vs 4-3-3 (duel lambdas: Home 2.009, Away 1.137). Final calibrated Poisson lambdas: Home 1.944, Away 1.040 (most likely score 2-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 8,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 6,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Real Sociedad",
      "away_squad": "Levante UD",
      "home_goals_per90": 0.75,
      "away_goals_against_per90": 1.67,
      "away_goals_per90": 1.6666666666666667,
      "home_goals_against_per90": 0.75,
      "home_empirical_lambda": 0.928,
      "away_empirical_lambda": 0.926,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.944,
      "away_lambda": 1.04,
      "micro_duel_home_lambda": 2.009,
      "micro_duel_away_lambda": 1.137
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": true,
      "competition_calibration_scale": 0.947,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-25T15:16:55Z",
  "outcome_baseline": null,
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "aerialLost": 12.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "expectedGoalsOnTarget": 6.0,
    "xgot": 6.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "shotOffTarget": 8.0,
    "rating": 10.0,
    "minutesPlayed": 130.0,
    "duelWon": 20.0,
    "duelLost": 20.0,
    "ballRecovery": 18.0,
    "fouls": 12.0
  }
}