{
  "match_info": {
    "home_team": "Málaga",
    "away_team": "Espanyol",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "3-5-2",
    "away_formation": "3-5-2",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "0-1",
    "home_goals": 0,
    "away_goals": 1,
    "most_likely_score_probability": 0.1655,
    "match_resolution": "regulation",
    "predicted_winner": "Espanyol",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2957,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "0-1",
        "probability": 0.1655
      },
      {
        "score": "0-0",
        "probability": 0.1334
      },
      {
        "score": "1-1",
        "probability": 0.1283
      },
      {
        "score": "0-2",
        "probability": 0.1046
      },
      {
        "score": "1-0",
        "probability": 0.1003
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.1334,
      "0-1": 0.1655,
      "0-2": 0.1046,
      "0-3": 0.0438,
      "0-4": 0.0138,
      "0-5": 0.0035,
      "0-6": 0.0007,
      "1-0": 0.1003,
      "1-1": 0.1283,
      "1-2": 0.08,
      "1-3": 0.0335,
      "1-4": 0.0105,
      "1-5": 0.0026,
      "1-6": 0.0006,
      "2-0": 0.0387,
      "2-1": 0.0487,
      "2-2": 0.0306,
      "2-3": 0.0128,
      "2-4": 0.004,
      "2-5": 0.001,
      "3-0": 0.0099,
      "3-1": 0.0124,
      "3-2": 0.0078,
      "3-3": 0.0033,
      "3-4": 0.001,
      "4-0": 0.0019,
      "4-1": 0.0024,
      "4-2": 0.0015,
      "4-3": 0.0006
    },
    "outcome": {
      "home_win": 0.2254,
      "draw": 0.2957,
      "away_win": 0.4789
    },
    "markets": {
      "over_2_5_goals": 0.3293,
      "under_2_5_goals": 0.6707,
      "btts_yes": 0.3835,
      "btts_no": 0.6165,
      "home_clean_sheet": 0.2845,
      "away_clean_sheet": 0.4653
    },
    "home_ratings": {
      "DR": 6.78,
      "MCR": 6.75,
      "ATR": 6.66,
      "GK": 7.19
    },
    "away_ratings": {
      "DR": 6.75,
      "MCR": 6.79,
      "ATR": 6.83,
      "GK": 7.1
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Málaga vs Espanyol. Most likely scoreline: 0-1. Lambdas derived from 6 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Roberto Fernández",
      "tactical_analysis": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Jens-Lys Cajuste vs Urko González will be the pivotal duel. Total antagonist xG — Home: 1.04, Away: 1.06. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.62,
    "home_lambda": 0.765,
    "away_lambda": 1.257,
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.2254,
      "draw": 0.2957,
      "away_win": 0.4789
    },
    "favorite": "Espanyol",
    "favorite_win_probability": 0.4789,
    "fair_spread": -0.492,
    "fair_total": 2.022,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Málaga",
        "estimate": 0.765,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Espanyol",
        "estimate": 1.257,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.3293,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.3835,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Málaga",
        "estimate": 1.0,
        "probability": 0.2845,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Espanyol",
        "estimate": 1.0,
        "probability": 0.4653,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Chupete (Málaga)",
        "estimate": 0.2016,
        "probability": 0.1826,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Roberto Fernández (Espanyol)",
        "estimate": 0.4885,
        "probability": 0.3865,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Pablo Martínez (Málaga)",
        "estimate": 0.112,
        "probability": 0.106,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Omar El Hilali (Espanyol)",
        "estimate": 0.1796,
        "probability": 0.1644,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "low",
      "expected_total_goals": 2.022,
      "expected_total_shots": 18,
      "expected_total_passes": 562,
      "expected_pressing_actions_per_90": 12.8,
      "possession_home_pct": 49.4,
      "possession_away_pct": 50.6,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Espanyol",
      "favorite_win_probability": 0.4789,
      "script": "Espanyol is the fair winner side, but the baseline remains narrow: fair spread -0.49 goals and fair total 2.02.",
      "first_half": "Expect low tempo while both sides test the matchup thesis; shot baseline is about 9 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Málaga must keep the match inside one goal.",
      "late_game": "A Espanyol lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Espanyol chance creation leans on Roberto Fernández against Adam Aznou, Fernando Calero in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Málaga: starters carry the main goal usage through the highest xG attackers; bench watchlist: Joaquín Muñoz, Julen Lobete, Eneko Jauregi.",
      "Espanyol: starters carry the main goal usage through Roberto Fernández; bench watchlist: Marcos Fernández, Kike García.",
      "Assist usage should flow through Omar El Hilali; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Espanyol tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects low tempo, about 9 total first-half shots, and 1.01 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 Málaga is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Espanyol.",
      "Málaga 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": {
    "Málaga": {
      "formation": "3-5-2",
      "players": {
        "Alfonso Herrero": {
          "player_id": 96371,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 180,
          "market_value": 420000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0012,
            "rating": 7.1894,
            "minutes": 90,
            "total_pass": 39,
            "accurate_pass": 28,
            "duels_won": 0,
            "total_long_balls": 17,
            "accurate_long_balls": 7,
            "touches": 49,
            "clearances": 0,
            "ball_recovery": 8,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 2,
            "possession_lost": 10.509,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 26,
            "gk_engine_opponent_lambda": 1.2567,
            "shots_faced": 11.9,
            "expected_saves": 2.91,
            "high_pressure_saves": 1.01,
            "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
            "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": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 21,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 6,
                "goals_prevented": 0.2423
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 23,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -0.3488
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0112,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 45,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": 0.3644
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 34,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 3,
                "goals_prevented": 0.9391
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -0.7359
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 28,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": 0.1734
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 32,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.6449
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3276,
            "combined_rank_score": 1220.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2397.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1894,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alfonso Herrero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Viñas",
                  "ranking": 3271
                },
                {
                  "player_name": "Marco Reus",
                  "ranking": 3272
                },
                {
                  "player_name": "Santiago Bueno",
                  "ranking": 3273
                },
                {
                  "player_name": "Hany Mukhtar",
                  "ranking": 3274
                },
                {
                  "player_name": "Aleksey Miranchuk",
                  "ranking": 3275
                }
              ],
              "lower": [
                {
                  "player_name": "Tim Iroegbunam",
                  "ranking": 3277
                },
                {
                  "player_name": "Jaminton Campaz",
                  "ranking": 3278
                },
                {
                  "player_name": "Miguel Merentiel",
                  "ranking": 3279
                },
                {
                  "player_name": "Pep Biel",
                  "ranking": 3280
                },
                {
                  "player_name": "Beñat Prados",
                  "ranking": 3281
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 7 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0013,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 50,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.71,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 4.2777,
                  "goalkeeperValueNormalized": 0.4064,
                  "sweeper_actions_p90": 0.4304,
                  "possessionLostCtrl": 11.1887,
                  "accurateKeeperSweeper": 0.4304,
                  "accurateLongBalls": 6.6694
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.075252056121826,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": 0.0574
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0389
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.037
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0276
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0263
                        }
                      ],
                      "others": -0.024,
                      "total": 3.0753,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": 0.019027
                        },
                        {
                          "name": "saves",
                          "margin": 0.012698
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.012077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009026
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.008522
                        }
                      ],
                      "others_margin": -0.007772
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.001262725330889225,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": 0.0658
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0481
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0388
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.025
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0216
                        }
                      ],
                      "others": 0.0713,
                      "total": 0.0013,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": 0.065798
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.048097
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.038843
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.025049
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.021561
                        }
                      ],
                      "others_margin": 0.071357
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.189387321472168,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": 0.097
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0574
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0443
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0292
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": 0.0243
                        }
                      ],
                      "others": 0.0226,
                      "total": 7.1894,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": 0.097033
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.057361
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.044306
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.029171
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": 0.024255
                        }
                      ],
                      "others_margin": 0.022549
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "params": {
                "market_value_eur": 420000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "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,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "gk_engine_opponent_lambda": 1.2567,
                "shots_faced": 11.9,
                "expected_saves": 2.91,
                "high_pressure_saves": 1.01,
                "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.2567
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "gk_engine_opponent_lambda": 1.2567,
                "shots_faced": 11.9,
                "expected_saves": 2.91,
                "high_pressure_saves": 1.01,
                "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "gk_engine_opponent_lambda": 1.2567,
                "shots_faced": 11.9,
                "expected_saves": 2.91,
                "high_pressure_saves": 1.01,
                "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                "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": 75.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": 3276,
                "fifa_rank": 2397.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "gk_engine_opponent_lambda": 1.2567,
                "shots_faced": 11.9,
                "expected_saves": 2.91,
                "high_pressure_saves": 1.01,
                "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                "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": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0012,
                "rating": 7.1894,
                "minutes": 90,
                "total_pass": 39,
                "accurate_pass": 28,
                "duels_won": 0,
                "total_long_balls": 17,
                "accurate_long_balls": 7,
                "touches": 49,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 2,
                "possession_lost": 10.509,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "gk_engine_opponent_lambda": 1.2567,
                "shots_faced": 11.9,
                "expected_saves": 2.91,
                "high_pressure_saves": 1.01,
                "opponent_faced": "Roberto Fernández, Tyrhys Dolan",
                "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": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Adam Aznou": {
          "player_id": 1466124,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 39,
          "height": 178,
          "market_value": 6200000,
          "stats": {
            "interceptions": 2,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 2,
            "duels_won": 5,
            "total_pass": 43,
            "accurate_pass": 34,
            "expected_goals": 0.0098,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 22,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 59,
            "possession_lost": 6.4,
            "dispossessed": 0.4,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.04,
            "assists": 0,
            "expected_assists": 0.0523,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0075,
            "key_pass": 1,
            "ball_carries": 20,
            "total_progression": 59,
            "progressive_carries": 4,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.753,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0098,
            "projected_assists": 0,
            "assist_probability": 0.051,
            "finishing_factor": 0.8,
            "creation_factor": 0.9184,
            "fifa_overall": 67.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 6312,
            "combined_rank_score": 4601.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 9024.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adam Aznou",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Xavier Arreaga",
                  "ranking": 6307
                },
                {
                  "player_name": "Gustavo Nunes",
                  "ranking": 6308
                },
                {
                  "player_name": "Tom Watson",
                  "ranking": 6309
                },
                {
                  "player_name": "Daniel Piña",
                  "ranking": 6310
                },
                {
                  "player_name": "Angus Thurgate",
                  "ranking": 6311
                }
              ],
              "lower": [
                {
                  "player_name": "Fernando Meza",
                  "ranking": 6313
                },
                {
                  "player_name": "David Miculescu",
                  "ranking": 6314
                },
                {
                  "player_name": "Dino Beširović",
                  "ranking": 6315
                },
                {
                  "player_name": "Adama Traoré",
                  "ranking": 6316
                },
                {
                  "player_name": "Enrique Triverio",
                  "ranking": 6317
                }
              ]
            }
          },
          "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"
            ],
            "market_value_adjustment": 0.4769,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€6,200,000) applied for position D (quality factor 0.48)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.48)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.017,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.048,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.017,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.048,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4
              },
              "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": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.017,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.048,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.013,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.0098,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0523,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0075,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9184
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.017,
                  "after": 0.0098
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 67.0; not used by the projection)",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.0098,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0523,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0075,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9184,
                "fifa_overall": 67.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": 6312,
                "fifa_rank": 9024.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 67.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.0098,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0523,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0075,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0098,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9184,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0098,
                "scorer_weight": 0.0078,
                "squad_weight_total": 0.6513,
                "weight_share": 0.012,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 43,
                "accurate_pass": 34,
                "expected_goals": 0.0098,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.4,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.0523,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0075,
                "key_pass": 1,
                "ball_carries": 20,
                "total_progression": 59,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0098,
                "projected_assists": 0,
                "assist_probability": 0.051,
                "finishing_factor": 0.8,
                "creation_factor": 0.9184,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.051,
                "provider_weight": 0.048,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0899,
                "creation_factor": 0.9184,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "Fernando Calero": {
          "player_id": 857205,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 20,
          "height": 183,
          "market_value": 2100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 2,
            "duels_won": 5,
            "total_pass": 42,
            "accurate_pass": 33,
            "expected_goals": 0.0092,
            "rating": 6.8,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 6.2,
            "dispossessed": 0.4,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.04,
            "assists": 0,
            "expected_assists": 0.049,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0069,
            "key_pass": 0,
            "ball_carries": 19,
            "total_progression": 56,
            "progressive_carries": 4,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.753,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0092,
            "projected_assists": 0,
            "assist_probability": 0.0478,
            "finishing_factor": 0.8,
            "creation_factor": 0.9474,
            "fifa_overall": 81.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 1185,
            "combined_rank_score": 513.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 522.0,
            "sofascore_rating": 6.8393,
            "sofascore_appearances": 28.0,
            "fifa_rank": 504.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fernando Calero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sebastián Díaz",
                  "ranking": 1180
                },
                {
                  "player_name": "Jesse Lingard",
                  "ranking": 1181
                },
                {
                  "player_name": "Ilkhomzhon Abduganiev",
                  "ranking": 1182
                },
                {
                  "player_name": "Pijus Širvys",
                  "ranking": 1183
                },
                {
                  "player_name": "Olivier Thill",
                  "ranking": 1184
                }
              ],
              "lower": [
                {
                  "player_name": "Diego Rubio",
                  "ranking": 1186
                },
                {
                  "player_name": "Ismaïla Sarr",
                  "ranking": 1187
                },
                {
                  "player_name": "Kevin Danso",
                  "ranking": 1188
                },
                {
                  "player_name": "Folarin Balogun",
                  "ranking": 1189
                },
                {
                  "player_name": "Jonathan David",
                  "ranking": 1190
                }
              ]
            }
          },
          "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"
            ],
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€2,100,000) applied for position D (quality factor 0.44)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "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,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0092,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0069,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.016,
                  "after": 0.0092
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0092,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0069,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1185,
                "fifa_rank": 504.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0092,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0069,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0092,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0092,
                "scorer_weight": 0.0074,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0113,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0092,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0069,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.753,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0092,
                "projected_assists": 0,
                "assist_probability": 0.0478,
                "finishing_factor": 0.8,
                "creation_factor": 0.9474,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0478,
                "provider_weight": 0.0464,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0869,
                "creation_factor": 0.9474,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jose Salinas": {
          "player_id": 1068891,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 178,
          "market_value": 1800000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6344,
            "minutes": 60,
            "total_pass": 25,
            "accurate_pass": 22,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 35,
            "possession_lost": 4.5823,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0107,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Roberto Fernández",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0106,
            "finishing_factor": 1.0,
            "creation_factor": 0.8361,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0155,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "tackles": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 87,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0111,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 41,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 6,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2864,
            "combined_rank_score": 1199.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 969.0,
            "sofascore_rating": 6.35,
            "sofascore_appearances": 11.0,
            "fifa_rank": 1429.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.6344,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jose Salinas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jérémy Corinus",
                  "ranking": 2859
                },
                {
                  "player_name": "Livio Meier",
                  "ranking": 2860
                },
                {
                  "player_name": "Park Chae-Joon",
                  "ranking": 2861
                },
                {
                  "player_name": "Martin Andersen",
                  "ranking": 2862
                },
                {
                  "player_name": "Jorge Cabello",
                  "ranking": 2863
                }
              ],
              "lower": [
                {
                  "player_name": "Ryan Camenzuli",
                  "ranking": 2865
                },
                {
                  "player_name": "Miguel Loureiro",
                  "ranking": 2866
                },
                {
                  "player_name": "Saba Sazonov",
                  "ranking": 2867
                },
                {
                  "player_name": "Juan Pablo Nieto",
                  "ranking": 2868
                },
                {
                  "player_name": "Adalid Terrazas",
                  "ranking": 2869
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 36,
                "possession_lost": 4.67,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.4419,
                  "defensive_actions": 2.418,
                  "wonTackle": 0.9928,
                  "totalTackle_p90": 2.6272,
                  "totalClearance_p90": 1.8633,
                  "aerialWon": 0.6024
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6869664788246155,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.113
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0186
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0167
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0696,
                      "total": 0.687,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.133651
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.026129
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024428
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.022026
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.015069
                        }
                      ],
                      "others_margin": -0.096587
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3996703624725342,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1436
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.056
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.047
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0136
                        }
                      ],
                      "others": 0.0489,
                      "total": 1.3997,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.102424
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038682
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033666
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.025589
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.0101
                        }
                      ],
                      "others_margin": 0.035483
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6728590726852417,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.134
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.028
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0218
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0136
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.6729,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.177026
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.04136
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.032291
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.027021
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.020125
                        }
                      ],
                      "others_margin": -0.011616
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9112927913665771,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7871
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2314
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1914
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1079
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0605
                        }
                      ],
                      "others": -0.098,
                      "total": 1.9113,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.264424
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093205
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.084227
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050837
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.029643
                        }
                      ],
                      "others_margin": -0.050006
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4259854555130005,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6292
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0656
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0416
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0266
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0602,
                      "total": 0.426,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.684336
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.108041
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.075132
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05123
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.041068
                        }
                      ],
                      "others_margin": -0.132261
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.46602949500083923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0372
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0176
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0162
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0156
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0138
                        }
                      ],
                      "others": -0.036,
                      "total": 0.466,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.037233
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.01762
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.016162
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.015637
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.013753
                        }
                      ],
                      "others_margin": -0.035955
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.634381294250488,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0549
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.015
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0124
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0101
                        }
                      ],
                      "others": -0.0191,
                      "total": 6.6344,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.054924
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.01504
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.012389
                        },
                        {
                          "name": "touches",
                          "margin": -0.011864
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010068
                        }
                      ],
                      "others_margin": -0.019123
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "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,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8361
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8361,
                "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_filled",
                "ranking_status": "combined",
                "global_player_rank": 2864,
                "fifa_rank": 1429.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8361,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0015,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.6344,
                "minutes": 60,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 4.5823,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0106,
                "finishing_factor": 1.0,
                "creation_factor": 0.8361,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0106,
                "provider_weight": 0.0089,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0168,
                "creation_factor": 0.8361,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jens-Lys Cajuste": {
          "player_id": 857671,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 188,
          "market_value": 6600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0191,
            "assist_rate": 0.0507,
            "assists": 0,
            "expected_goals": 0.0651,
            "goal_rate": 0.0643,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7048,
            "minutes": 9,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 0.9945,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0516,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.485,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Javi Puado",
            "opponent_faced": "Javi Puado",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.063,
            "projected_assists": 0,
            "assist_probability": 0.0189,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3806,
            "combined_rank_score": 1806.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 3437.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7048,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jens-Lys Cajuste",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bartłomiej Drągowski",
                  "ranking": 3801
                },
                {
                  "player_name": "Eliesse Ben Seghir",
                  "ranking": 3802
                },
                {
                  "player_name": "Roony Bardghji",
                  "ranking": 3803
                },
                {
                  "player_name": "Nilson Angulo",
                  "ranking": 3804
                },
                {
                  "player_name": "James McAtee",
                  "ranking": 3805
                }
              ],
              "lower": [
                {
                  "player_name": "Yáser Asprilla",
                  "ranking": 3807
                },
                {
                  "player_name": "Stephen Eustaquio",
                  "ranking": 3808
                },
                {
                  "player_name": "Darío Osorio",
                  "ranking": 3809
                },
                {
                  "player_name": "Josh Sargent",
                  "ranking": 3810
                },
                {
                  "player_name": "Haris Hajradinović",
                  "ranking": 3811
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0176,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.1084,
                "goal_rate": 0.0614,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "expectedAssists": 0.0005,
                  "creative_index": 0.0003,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": 0.0,
                  "dribbleValueNormalized": 0.04
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.358845055103302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.228
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1152
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0832
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0431
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0317
                        }
                      ],
                      "others": -0.0667,
                      "total": 0.3588,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.28238
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.180239
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.153938
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.090068
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.071785
                        }
                      ],
                      "others_margin": -0.170308
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017559243366122246,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0473
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0073
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0034
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0026
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0176,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.780873
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.201948
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.108546
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.093059
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.086602
                        }
                      ],
                      "others_margin": -0.331955
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.051020096987485886,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0134
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0101
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.003
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0028
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.003,
                      "total": 0.051,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.171497
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.152125
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.049831
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.048159
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.03325
                        }
                      ],
                      "others_margin": -0.057232
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10838744044303894,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0319
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0084
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0065
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0053
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.1084,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.191789
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.079541
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.062089
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.05114
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.042041
                        }
                      ],
                      "others_margin": -0.179217
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.061445675790309906,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0351
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0031
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.0614,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.270928
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.248392
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.054626
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.038114
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.03472
                        }
                      ],
                      "others_margin": -0.231656
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13136771321296692,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1336
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0208
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0173
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.01
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0195,
                      "total": 0.1314,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.504105
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.107472
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.09938
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062112
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.031375
                        }
                      ],
                      "others_margin": -0.138916
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2997677132129669,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.4141
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0517
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0443
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0334
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0325
                        }
                      ],
                      "others": -0.1624,
                      "total": 0.2997,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.414067
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.051749
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044334
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.033362
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.032506
                        }
                      ],
                      "others_margin": -0.162328
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.704806327819824,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0565
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.037
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.031
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0289
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0517,
                      "total": 6.7048,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056526
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.036995
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.030971
                        },
                        {
                          "name": "touches",
                          "margin": -0.028904
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.011877
                        }
                      ],
                      "others_margin": -0.051617
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9945, quality 0.482)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0175,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.1078,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9945
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0175,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.1078,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "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,
                "expected_assists": 0.0175,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.1134,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.0516,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.485,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Javi Puado",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.485,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0516,
                  "skill_edge": -0.0049,
                  "height_edge": 0.04,
                  "attacker_skill": 0.4907,
                  "defender_skill": 0.5015,
                  "xg_override": 0.1134
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.2981,
                  "after": 0.3135
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.1675,
                  "after": 0.1761
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1306,
                  "after": 0.1373
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1078,
                  "after": 0.1134
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0191,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.0651,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.0516,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.485,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "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": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1134,
                  "after": 0.0651
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0191,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.0651,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.0516,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.485,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3806,
                "fifa_rank": 3437.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0191,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.0651,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.0516,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.485,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.063,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.063,
                "scorer_weight": 0.0521,
                "squad_weight_total": 0.6513,
                "weight_share": 0.08,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0191,
                "assist_rate": 0.0507,
                "assists": 0,
                "expected_goals": 0.0651,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7048,
                "minutes": 9,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.9945,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.0516,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.485,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.063,
                "projected_assists": 0,
                "assist_probability": 0.0189,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0189,
                "provider_weight": 0.0239,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0447,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "David Larrubia": {
          "player_id": 1002405,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 5300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1065,
            "assist_rate": 0.1058,
            "assists": 0,
            "expected_goals": 0.1111,
            "goal_rate": 0.176,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 6.7929,
            "minutes": 82,
            "total_pass": 26,
            "accurate_pass": 21,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 49,
            "possession_lost": 14.7078,
            "dispossessed": 0.0,
            "duels_lost": 9,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 3,
            "clearances": 0,
            "total_contest": 7,
            "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": 16,
            "total_progression": 109,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1052,
            "projected_assists": 0,
            "assist_probability": 0.101,
            "finishing_factor": 0.9278,
            "creation_factor": 1.0548,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.122,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 31,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0094,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0404,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3195,
                "expected_assists": 0.1804,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1257,
                "expected_assists": 0.1173,
                "total_shots": 4,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 4,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 34,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0527,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 3,
                "interceptions": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0414,
                "expected_assists": 0.0262,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1361,
            "combined_rank_score": 577.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 577.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.7929,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Larrubia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marko Bakić",
                  "ranking": 1356
                },
                {
                  "player_name": "Nika Gagnidze",
                  "ranking": 1357
                },
                {
                  "player_name": "Francisco Geraldes",
                  "ranking": 1358
                },
                {
                  "player_name": "Fernando Niño",
                  "ranking": 1359
                },
                {
                  "player_name": "Iñigo Arguibide",
                  "ranking": 1360
                }
              ],
              "lower": [
                {
                  "player_name": "John Edwin Montaño",
                  "ranking": 1362
                },
                {
                  "player_name": "Samuel Xavier",
                  "ranking": 1363
                },
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9898,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 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,
                "expected_assists": 0.0987,
                "assist_rate": 0.1068,
                "assists": 0,
                "expected_goals": 0.1956,
                "goal_rate": 0.1778,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.86,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 110,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.5364,
                  "expectedAssists": 0.0805,
                  "creative_index": 0.6416,
                  "creative_efficiency": 0.0547,
                  "shotValueNormalized": -0.1425,
                  "dribbleValueNormalized": 0.2923
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1762651205062866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0938
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0763
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0334
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0267
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0273
                        }
                      ],
                      "others": 0.0589,
                      "total": 1.1763,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.096392
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.072094
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030943
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.024806
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.02476
                        }
                      ],
                      "others_margin": 0.051382
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09866596013307571,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0068
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0047
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0041
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.004
                        }
                      ],
                      "others": 0.0052,
                      "total": 0.0987,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.075345
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.050806
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.044511
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.043233
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.04194
                        }
                      ],
                      "others_margin": 0.052833
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10684475302696228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.012
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0084
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0026
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0023
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0018
                        }
                      ],
                      "others": 0.0034,
                      "total": 0.1068,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.132019
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.082761
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.024579
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.022545
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.017287
                        }
                      ],
                      "others_margin": 0.031603
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19559615850448608,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0091
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0082
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.004
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.008,
                      "total": 0.1956,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.048655
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.043766
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.021992
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.021606
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.021532
                        }
                      ],
                      "others_margin": 0.041799
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17778444290161133,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0493
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0209
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0109
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0094
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0092
                        }
                      ],
                      "others": 0.0126,
                      "total": 0.1778,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.287789
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.112205
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.063806
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.058252
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.057233
                        }
                      ],
                      "others_margin": 0.073224
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.45774754881858826,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0453
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0206
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0165
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.014
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0103
                        }
                      ],
                      "others": 0.0342,
                      "total": 0.4577,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.125981
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.052422
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.040164
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.032899
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.024054
                        }
                      ],
                      "others_margin": 0.077545
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6747475488185883,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3471
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0651
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0425
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0394
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.039
                        }
                      ],
                      "others": 0.1035,
                      "total": 1.6747,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.347076
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.065116
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.042548
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.039401
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.038966
                        }
                      ],
                      "others_margin": 0.103545
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.792932987213135,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.1129
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0496
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0366
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0228
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0199
                        }
                      ],
                      "others": 0.0359,
                      "total": 6.7929,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.112872
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.049618
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.036637
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.022779
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.019912
                        }
                      ],
                      "others_margin": 0.035935
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9898, quality 0.466)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0977,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1936,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 5300000,
                "quality_factor": 0.4659,
                "boost_factor": 0.9898
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0977,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1936,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "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,
                "expected_assists": 0.0977,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1936,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1065,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1111,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9278,
                "creation_factor": 1.0548
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1936,
                  "after": 0.1111
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0977,
                  "after": 0.1065
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1065,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1111,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9278,
                "creation_factor": 1.0548,
                "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": 1361,
                "fifa_rank": 577.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1065,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1111,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1052,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9278,
                "creation_factor": 1.0548,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1052,
                "scorer_weight": 0.1031,
                "squad_weight_total": 0.6513,
                "weight_share": 0.1583,
                "finishing_factor": 0.9278,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1065,
                "assist_rate": 0.1058,
                "assists": 0,
                "expected_goals": 0.1111,
                "goal_rate": 0.176,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.7929,
                "minutes": 82,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 14.7078,
                "dispossessed": 0.0,
                "duels_lost": 9,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 7,
                "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": 16,
                "total_progression": 109,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "opponent_faced": "Urko González, Tyrhys Dolan, Javi Puado",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1052,
                "projected_assists": 0,
                "assist_probability": 0.101,
                "finishing_factor": 0.9278,
                "creation_factor": 1.0548,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.101,
                "provider_weight": 0.1123,
                "squad_weight_total": 0.5341,
                "weight_share": 0.2103,
                "creation_factor": 1.0548,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        },
        "Pablo Martínez": {
          "player_id": 927066,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 182,
          "market_value": 3100000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.112,
            "assist_rate": 0.1646,
            "assists": 0,
            "expected_goals": 0.0582,
            "goal_rate": 0.1204,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7977,
            "minutes": 61,
            "total_pass": 31,
            "accurate_pass": 27,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 14,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 43,
            "possession_lost": 7.8528,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 39,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9848,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.44,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Javi Puado",
            "opponent_faced": "Javi Puado",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0565,
            "projected_assists": 0,
            "assist_probability": 0.106,
            "finishing_factor": 1.1255,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 23,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0432,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 14,
                "key_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": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0588,
                "expected_assists": 0.0037,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0317,
                "expected_assists": 0.3682,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 44,
                "key_pass": 5,
                "tackles": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0145,
                "expected_assists": 0.0389,
                "total_shots": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 29,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1083,
            "combined_rank_score": 444.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 490.0,
            "sofascore_rating": 6.8667,
            "sofascore_appearances": 27.0,
            "fifa_rank": 399.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7977,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Martínez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Davinson Sánchez",
                  "ranking": 1078
                },
                {
                  "player_name": "Robert Sánchez",
                  "ranking": 1079
                },
                {
                  "player_name": "Romelu Lukaku",
                  "ranking": 1080
                },
                {
                  "player_name": "Rafael Delgado",
                  "ranking": 1081
                },
                {
                  "player_name": "Kim Han-Seo",
                  "ranking": 1082
                }
              ],
              "lower": [
                {
                  "player_name": "Ethan Espinoza",
                  "ranking": 1084
                },
                {
                  "player_name": "Ji-Min Rim",
                  "ranking": 1085
                },
                {
                  "player_name": "Rafael Bandeira",
                  "ranking": 1086
                },
                {
                  "player_name": "Guk-yeong Han",
                  "ranking": 1087
                },
                {
                  "player_name": "Ramiro Vaca",
                  "ranking": 1088
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9816,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 5 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,
                "expected_assists": 0.1047,
                "assist_rate": 0.1677,
                "assists": 0,
                "expected_goals": 0.1049,
                "goal_rate": 0.1246,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 28,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 40,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7844,
                  "expectedAssists": 0.0928,
                  "creative_index": 0.6857,
                  "creative_efficiency": 0.0292,
                  "shotValueNormalized": -0.0808,
                  "dribbleValueNormalized": 0.0856
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2728278636932373,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1335
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0837
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0565
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0383
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0292
                        }
                      ],
                      "others": 0.0049,
                      "total": 1.2728,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.134551
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.075953
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.048257
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.031415
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.023291
                        }
                      ],
                      "others_margin": 0.003923
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10474119335412979,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0097
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0065
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.004
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0039
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0042,
                      "total": 0.1047,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.105611
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.064746
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.039068
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.038883
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.027801
                        }
                      ],
                      "others_margin": 0.040559
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.16771039366722107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0125
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0104
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0099
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0098
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0058
                        }
                      ],
                      "others": 0.0342,
                      "total": 0.1677,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.137047
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.101484
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.087794
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.079543
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.044675
                        }
                      ],
                      "others_margin": 0.227383
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10488676279783249,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0428
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.1049,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.26709
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.085528
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.044676
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037884
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037135
                        }
                      ],
                      "others_margin": -0.082253
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12456288188695908,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0165
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0063
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0066
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0033,
                      "total": 0.1246,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.225479
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.151033
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.060145
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.059044
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.058673
                        }
                      ],
                      "others_margin": 0.026871
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.29584288597106934,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0159
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0159
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0079
                        }
                      ],
                      "others": -0.0202,
                      "total": 0.2958,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05229
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.05104
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.05088
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038405
                        },
                        {
                          "name": "intensity_index",
                          "margin": 0.025359
                        }
                      ],
                      "others_margin": -0.066034
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.080784559249878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0863
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0537
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0349
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0227
                        }
                      ],
                      "others": 0.026,
                      "total": 1.0808,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.086292
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053656
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.034882
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.028106
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.022682
                        }
                      ],
                      "others_margin": 0.025986
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.797651767730713,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.05
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0458
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0115
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0454,
                      "total": 6.7977,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05002
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.045779
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.012961
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.011474
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010989
                        }
                      ],
                      "others_margin": -0.045386
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9816, quality 0.439)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1028,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.103,
                "goal_rate": 0.1223,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9816
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1028,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.103,
                "goal_rate": 0.1223,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "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,
                "expected_assists": 0.1028,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.1014,
                "goal_rate": 0.1204,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9848,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.44,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Javi Puado",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.44,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9848,
                  "skill_edge": -0.0264,
                  "height_edge": 0.016,
                  "attacker_skill": 0.4429,
                  "defender_skill": 0.5015,
                  "xg_override": 0.1014
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.0609,
                  "after": 1.0448
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7705,
                  "after": 0.7588
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.112,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.0582,
                "goal_rate": 0.1204,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9848,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.44,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1255,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1014,
                  "after": 0.0582
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1028,
                  "after": 0.112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.112,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.0582,
                "goal_rate": 0.1204,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9848,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.44,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1255,
                "creation_factor": 1.25,
                "fifa_overall": 82.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": 1083,
                "fifa_rank": 399.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.112,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.0582,
                "goal_rate": 0.1204,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9848,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.44,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1255,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0565,
                "scorer_weight": 0.0655,
                "squad_weight_total": 0.6513,
                "weight_share": 0.1006,
                "finishing_factor": 1.1255,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.112,
                "assist_rate": 0.1646,
                "assists": 0,
                "expected_goals": 0.0582,
                "goal_rate": 0.1204,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7977,
                "minutes": 61,
                "total_pass": 31,
                "accurate_pass": 27,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 7.8528,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 39,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9848,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.44,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Puado",
                "opponent_faced": "Javi Puado",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.106,
                "finishing_factor": 1.1255,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.106,
                "provider_weight": 0.14,
                "squad_weight_total": 0.5341,
                "weight_share": 0.2621,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        },
        "Izan Merino": {
          "player_id": 1493488,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 186,
          "market_value": 1900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0375,
            "assist_rate": 0.0516,
            "assists": 0,
            "expected_goals": 0.0574,
            "goal_rate": 0.053,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7878,
            "minutes": 70,
            "total_pass": 44,
            "accurate_pass": 41,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 22,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 48,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 33,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.016,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.431,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pol Lozano",
            "opponent_faced": "Pol Lozano",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0558,
            "projected_assists": 0,
            "assist_probability": 0.0368,
            "finishing_factor": 0.8,
            "creation_factor": 1.2038,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "clearances": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0197,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0122,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 87,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0277,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 85,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0472,
                "expected_assists": 0.0427,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 71,
                "accurate_pass": 68,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 43,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5154,
            "combined_rank_score": 3350.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 784.0,
            "sofascore_rating": 6.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5916.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7878,
            "source_file": "data/player_rankings.csv",
            "player_name": "Izan Merino",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jean-Philippe Krasso",
                  "ranking": 5149
                },
                {
                  "player_name": "Abdallah Sima",
                  "ranking": 5150
                },
                {
                  "player_name": "Bryan Okoh",
                  "ranking": 5151
                },
                {
                  "player_name": "Lamine Sy",
                  "ranking": 5152
                },
                {
                  "player_name": "Santiago Hidalgo",
                  "ranking": 5153
                }
              ],
              "lower": [
                {
                  "player_name": "Louis Mouton",
                  "ranking": 5155
                },
                {
                  "player_name": "Yassin Belkhdim",
                  "ranking": 5156
                },
                {
                  "player_name": "Erik Janža",
                  "ranking": 5157
                },
                {
                  "player_name": "Fernando Cornejo",
                  "ranking": 5158
                },
                {
                  "player_name": "Jacques Ekomié",
                  "ranking": 5159
                }
              ]
            }
          },
          "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",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "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"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 6 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,
                "expected_assists": 0.035,
                "assist_rate": 0.0526,
                "assists": 0,
                "expected_goals": 0.1004,
                "goal_rate": 0.0532,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 42,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 34,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1257,
                  "expectedAssists": 0.0169,
                  "creative_index": 0.1788,
                  "creative_efficiency": 0.0074,
                  "shotValueNormalized": -0.0189,
                  "dribbleValueNormalized": 0.0563
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5663522481918335,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1189
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0976
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0367
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0348
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0514,
                      "total": 0.5664,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.137308
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.128818
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.053103
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053012
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.033339
                        }
                      ],
                      "others_margin": -0.086811
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03503831475973129,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0316
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0072
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0025
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0023
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.035,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.449582
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.138641
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.052315
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.051566
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.042602
                        }
                      ],
                      "others_margin": -0.177416
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05258761718869209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0119
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0074
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0032
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0526,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.149929
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.106414
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.049302
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.044874
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.03372
                        }
                      ],
                      "others_margin": -0.097594
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10038260370492935,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0357
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0109
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0081
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0064
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0169,
                      "total": 0.1004,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.217622
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.077272
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.06146
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.051448
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.035377
                        }
                      ],
                      "others_margin": -0.155279
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.053247857838869095,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0424
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0239
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0071
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0051
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.0532,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.338163
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.256746
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.090637
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.071494
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068664
                        }
                      ],
                      "others_margin": -0.195926
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1409107744693756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1217
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0151
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0105
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.009
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0333,
                      "total": 0.1409,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.447536
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.072702
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.053707
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.048345
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.038881
                        }
                      ],
                      "others_margin": -0.212062
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4479107744693756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3621
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0568
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0364
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0225
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0224
                        }
                      ],
                      "others": -0.09,
                      "total": 0.4479,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.362144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05676
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.036351
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.022523
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.02242
                        }
                      ],
                      "others_margin": -0.089976
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.787778377532959,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0297
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0137
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0113
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0099
                        }
                      ],
                      "others": -0.0546,
                      "total": 6.7878,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.031987
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.029693
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013742
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.011293
                        },
                        {
                          "name": "touches",
                          "margin": 0.00986
                        }
                      ],
                      "others_margin": -0.054507
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0344,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0985,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0344,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0985,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 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": {
                "key_pass": 1,
                "expected_assists": 0.0344,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.1001,
                "goal_rate": 0.053,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.016,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.431,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pol Lozano",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.431,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.016,
                  "skill_edge": -0.0291,
                  "height_edge": 0.04,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5021,
                  "xg_override": 0.1001
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.4395,
                  "after": 0.4465
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0574,
                "goal_rate": 0.053,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.016,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.431,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.2038
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1001,
                  "after": 0.0574
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0574,
                "goal_rate": 0.053,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.016,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.431,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.2038,
                "fifa_overall": 70.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": 5154,
                "fifa_rank": 5916.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0574,
                "goal_rate": 0.053,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.016,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.431,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0558,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.2038,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0558,
                "scorer_weight": 0.0459,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0705,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0375,
                "assist_rate": 0.0516,
                "assists": 0,
                "expected_goals": 0.0574,
                "goal_rate": 0.053,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7878,
                "minutes": 70,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 1.016,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.431,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0558,
                "projected_assists": 0,
                "assist_probability": 0.0368,
                "finishing_factor": 0.8,
                "creation_factor": 1.2038,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0368,
                "provider_weight": 0.0451,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0845,
                "creation_factor": 1.2038,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Juan Cruz": {
          "player_id": 936234,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 19,
          "height": 179,
          "market_value": 1700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0396,
            "assist_rate": 0.0688,
            "assists": 0,
            "expected_goals": 0.0598,
            "goal_rate": 0.0682,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6916,
            "minutes": 36,
            "total_pass": 10,
            "accurate_pass": 35,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 5.0435,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 30,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9029,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.354,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Gabriel Moscardo",
            "opponent_faced": "Gabriel Moscardo",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.058,
            "projected_assists": 0,
            "assist_probability": 0.0388,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0361,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "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": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0689,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0188,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 29,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 56,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0225,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0092,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4217,
            "combined_rank_score": 2245.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 3532.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6916,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Cruz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Anthony Lopes",
                  "ranking": 4212
                },
                {
                  "player_name": "Thorgan Hazard",
                  "ranking": 4213
                },
                {
                  "player_name": "Kenny Lala",
                  "ranking": 4214
                },
                {
                  "player_name": "Morgan Sanson",
                  "ranking": 4215
                },
                {
                  "player_name": "Hamari Traoré",
                  "ranking": 4216
                }
              ],
              "lower": [
                {
                  "player_name": "Maxime Lopez",
                  "ranking": 4218
                },
                {
                  "player_name": "Guillermo Martínez",
                  "ranking": 4219
                },
                {
                  "player_name": "Haris Belkebla",
                  "ranking": 4220
                },
                {
                  "player_name": "Renato Sanches",
                  "ranking": 4221
                },
                {
                  "player_name": "Yusuf Sarı",
                  "ranking": 4222
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 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,
                "expected_assists": 0.037,
                "assist_rate": 0.0701,
                "assists": 0,
                "expected_goals": 0.1176,
                "goal_rate": 0.0769,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 36,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.14,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 31,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 10.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.434,
                  "expectedAssists": 0.0182,
                  "creative_index": 0.086,
                  "creative_efficiency": 0.0129,
                  "shotValueNormalized": -0.03,
                  "dribbleValueNormalized": 0.0826
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6522579193115234,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1569
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1009
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0395
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0354
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0294
                        }
                      ],
                      "others": 0.0087,
                      "total": 0.6523,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.185557
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.140509
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.057324
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.051261
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.044604
                        }
                      ],
                      "others_margin": 0.013439
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03695163130760193,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0338
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0039
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0035
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.037,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.489702
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.088138
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.083276
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.081478
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.070276
                        }
                      ],
                      "others_margin": -0.186637
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07007701694965363,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0096
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.008
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0059
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0042
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0037,
                      "total": 0.0701,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.119792
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.111475
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.084003
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.059333
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.04054
                        }
                      ],
                      "others_margin": 0.052418
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11757219582796097,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0345
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0116
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0104
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0094
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0144,
                      "total": 0.1176,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.209623
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.075583
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.067623
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.065018
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058136
                        }
                      ],
                      "others_margin": -0.115578
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07690155506134033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0302
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0235
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0122
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0075
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0018,
                      "total": 0.0769,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.228731
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.222281
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.138615
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.096292
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.054814
                        }
                      ],
                      "others_margin": -0.022957
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19152149558067322,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1257
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0168
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0088
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0052
                        }
                      ],
                      "others": 0.0165,
                      "total": 0.1915,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.466021
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.082435
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.046407
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.032028
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.029331
                        }
                      ],
                      "others_margin": 0.089862
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6605214955806732,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2741
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0469
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0373
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0334
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0264
                        }
                      ],
                      "others": 0.0405,
                      "total": 0.6605,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.274131
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.046897
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.037336
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033362
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.026427
                        }
                      ],
                      "others_margin": 0.040557
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.691629886627197,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.053
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0348
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0292
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.028
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0655,
                      "total": 6.6916,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.052963
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.034766
                        },
                        {
                          "name": "touches",
                          "margin": -0.029232
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.028015
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013715
                        }
                      ],
                      "others_margin": -0.065463
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0363,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.1154,
                "goal_rate": 0.0755,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0363,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.1154,
                "goal_rate": 0.0755,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 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": {
                "key_pass": 1,
                "expected_assists": 0.0363,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.1042,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.9029,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Moscardo",
                "opponent_faced": "Gabriel Moscardo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Gabriel Moscardo",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.354,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9029,
                  "skill_edge": -0.042,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5308,
                  "xg_override": 0.1042
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.6481,
                  "after": 0.5852
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4602,
                  "after": 0.4155
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1879,
                  "after": 0.1697
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1154,
                  "after": 0.1042
                },
                {
                  "stat": "goals",
                  "before": 0.0755,
                  "after": 0.0682
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0396,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.0598,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.9029,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Moscardo",
                "opponent_faced": "Gabriel Moscardo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "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": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1042,
                  "after": 0.0598
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0396,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.0598,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.9029,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Moscardo",
                "opponent_faced": "Gabriel Moscardo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4217,
                "fifa_rank": 3532.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0396,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.0598,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.9029,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Moscardo",
                "opponent_faced": "Gabriel Moscardo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.058,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.058,
                "scorer_weight": 0.0478,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0735,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0396,
                "assist_rate": 0.0688,
                "assists": 0,
                "expected_goals": 0.0598,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6916,
                "minutes": 36,
                "total_pass": 10,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 5.0435,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 30,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.9029,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Moscardo",
                "opponent_faced": "Gabriel Moscardo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.058,
                "projected_assists": 0,
                "assist_probability": 0.0388,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0388,
                "provider_weight": 0.0495,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0927,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Chupete": {
          "player_id": 1913386,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 185,
          "market_value": 10700000,
          "stats": {
            "expected_goals": 0.2016,
            "goal_rate": 0.194,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0356,
            "key_pass": 1,
            "rating": 6.6861,
            "minutes": 80,
            "total_pass": 14,
            "accurate_pass": 9,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 8.3662,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9393,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
            "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1826,
            "projected_assists": 0,
            "assist_probability": 0.035,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0248,
                "expected_assists": 0.01,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0838,
                "expected_assists": 0.0107,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9748,
                "expected_assists": 0.0189,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 8,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2089,
                "expected_assists": 0.0182,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6769,
                "expected_assists": 0.0102,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0603,
                "expected_assists": 0.0553,
                "total_shots": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2054,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 784.0,
            "sofascore_rating": 6.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 783.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6861,
            "source_file": "data/player_rankings.csv",
            "player_name": "Chupete",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Liam Jessop",
                  "ranking": 2049
                },
                {
                  "player_name": "Tohirjon Ashuboyev",
                  "ranking": 2050
                },
                {
                  "player_name": "Javier Méndez",
                  "ranking": 2051
                },
                {
                  "player_name": "Facundo Marín",
                  "ranking": 2052
                },
                {
                  "player_name": "Lee Rim",
                  "ranking": 2053
                }
              ],
              "lower": [
                {
                  "player_name": "Miguelito",
                  "ranking": 2055
                },
                {
                  "player_name": "Francisco Herrera",
                  "ranking": 2056
                },
                {
                  "player_name": "Joon-mo Kang",
                  "ranking": 2057
                },
                {
                  "player_name": "Maks Juraj Čelić",
                  "ranking": 2058
                },
                {
                  "player_name": "Eligijus Jankauskas",
                  "ranking": 2059
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0092,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 7 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.3706,
                "goal_rate": 0.2046,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0324,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.29,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.3691,
                  "totalShots": 1.8699,
                  "minutesPlayed": 75.208,
                  "shotValueNormalized": -0.2301,
                  "accuratePass": 8.2588,
                  "expectedAssists": 0.014
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.37058746814727783,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0507
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0247
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0204,
                      "total": 0.3706,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.130933
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.057944
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.048108
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.033094
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032197
                        }
                      ],
                      "others_margin": -0.05368
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20456932485103607,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0412
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.024
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0068
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0069
                        }
                      ],
                      "others": -0.0203,
                      "total": 0.2046,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.155119
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.102808
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.047167
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.0316
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.031292
                        }
                      ],
                      "others_margin": -0.095052
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5827317237854004,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1256
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.1146
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0286
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0248
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0202
                        }
                      ],
                      "others": -0.0191,
                      "total": 0.5827,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.239962
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.221129
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.048367
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.041748
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.034109
                        }
                      ],
                      "others_margin": -0.032263
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7412463426589966,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2259
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1958
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0624
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0493
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0397
                        }
                      ],
                      "others": -0.0437,
                      "total": 1.7412,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": 0.225875
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.195823
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.062415
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049256
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.039687
                        }
                      ],
                      "others_margin": -0.043662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03238282352685928,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0187
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0019
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0014
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0011
                        }
                      ],
                      "others": -0.0036,
                      "total": 0.0324,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.373346
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.078231
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.051913
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039516
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.029692
                        }
                      ],
                      "others_margin": -0.104188
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5326461791992188,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2136
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0312
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0301
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0174
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0155
                        }
                      ],
                      "others": -0.0262,
                      "total": 0.5326,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.3783
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.065023
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.059031
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.032602
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.028066
                        }
                      ],
                      "others_margin": -0.048038
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.686070442199707,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0432
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0283
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0255
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0142
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0372,
                      "total": 6.6861,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.043211
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02834
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.025522
                        },
                        {
                          "name": "touches",
                          "margin": 0.014158
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.008858
                        }
                      ],
                      "others_margin": -0.037116
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0092, quality 0.531)",
              "stats": {
                "expected_goals": 0.374,
                "goal_rate": 0.2065,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0327,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 10700000,
                "quality_factor": 0.5306,
                "boost_factor": 1.0092
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.374,
                "goal_rate": 0.2065,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0327,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "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.3513,
                "goal_rate": 0.194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0327,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9393,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9393,
                  "skill_edge": -0.0493,
                  "height_edge": 0.008,
                  "attacker_skill": 0.5306,
                  "defender_skill": 0.6401,
                  "xg_override": 0.3513
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7573,
                  "after": 1.6506
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1692,
                  "after": 1.0982
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5881,
                  "after": 0.5524
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.374,
                  "after": 0.3513
                },
                {
                  "stat": "goals",
                  "before": 0.2065,
                  "after": 0.194
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2016,
                "goal_rate": 0.194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0356,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9393,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3513,
                  "after": 0.2016
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2016,
                "goal_rate": 0.194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0356,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9393,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.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": 2054,
                "fifa_rank": 783.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.2016,
                "goal_rate": 0.194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0356,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9393,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1826,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1826,
                "scorer_weight": 0.1613,
                "squad_weight_total": 0.6513,
                "weight_share": 0.2476,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.2016,
                "goal_rate": 0.194,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0356,
                "key_pass": 1,
                "rating": 6.6861,
                "minutes": 80,
                "total_pass": 14,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.3662,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.9393,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1826,
                "projected_assists": 0,
                "assist_probability": 0.035,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.035,
                "provider_weight": 0.0285,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0533,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "Adrián Niño": {
          "player_id": 1402927,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 186,
          "market_value": 1900000,
          "stats": {
            "expected_goals": 0.1549,
            "goal_rate": 0.1652,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0192,
            "key_pass": 0,
            "rating": 6.6288,
            "minutes": 32,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8836,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
            "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1435,
            "projected_assists": 0,
            "assist_probability": 0.019,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0803,
                "expected_assists": 0.0038,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.289,
                "expected_assists": 0.002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 23,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1408,
                "expected_assists": 0.0015,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 1,
                "accurate_pass": 1,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4211,
            "combined_rank_score": 2241.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4265.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.6288,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrián Niño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Léo Scienza",
                  "ranking": 4206
                },
                {
                  "player_name": "Iván Villar",
                  "ranking": 4207
                },
                {
                  "player_name": "Arthur Avom Ebong",
                  "ranking": 4208
                },
                {
                  "player_name": "Ángel Pérez",
                  "ranking": 4209
                },
                {
                  "player_name": "Salomón Rondón",
                  "ranking": 4210
                }
              ],
              "lower": [
                {
                  "player_name": "Anthony Lopes",
                  "ranking": 4212
                },
                {
                  "player_name": "Thorgan Hazard",
                  "ranking": 4213
                },
                {
                  "player_name": "Kenny Lala",
                  "ranking": 4214
                },
                {
                  "player_name": "Morgan Sanson",
                  "ranking": 4215
                },
                {
                  "player_name": "Hamari Traoré",
                  "ranking": 4216
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 3 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.3113,
                "goal_rate": 0.1905,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0179,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.2809,
                  "totalShots": 1.5617,
                  "minutesPlayed": 33.5345,
                  "shotValueNormalized": -0.0529,
                  "accuratePass": 3.5462,
                  "expectedAssists": 0.0026
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.31127139925956726,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0317
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0306
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0273
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.023
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.3113,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.091403
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.088543
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.072865
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.060848
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.051089
                        }
                      ],
                      "others_margin": -0.110693
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19054314494132996,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0253
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0175
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0137
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0129
                        }
                      ],
                      "others": -0.0473,
                      "total": 0.1905,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.157644
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.108892
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.076884
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.056134
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052683
                        }
                      ],
                      "others_margin": -0.222081
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5843583941459656,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.1741
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1541
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0322
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0205
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0166,
                      "total": 0.5844,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": 0.259077
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.225685
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.051519
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032454
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.031876
                        }
                      ],
                      "others_margin": -0.02816
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3573583941459657,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2012
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1496
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0775
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0577
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0559
                        }
                      ],
                      "others": -0.0502,
                      "total": 1.3573,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.201202
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.149637
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.077461
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057674
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.055912
                        }
                      ],
                      "others_margin": -0.050197
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017896443605422974,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0081
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0025
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0022
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0179,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.377703
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.219624
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.077634
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.07504
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.065079
                        }
                      ],
                      "others_margin": -0.395451
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3139384686946869,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2753
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0409
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0262
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0173
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0423,
                      "total": 0.3139,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.520693
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.106915
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069762
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.045664
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.040302
                        }
                      ],
                      "others_margin": -0.126463
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.628806114196777,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0438
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0369
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0343
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0232
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0834,
                      "total": 6.6288,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.043752
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.036891
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.03431
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.023232
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.011037
                        }
                      ],
                      "others_margin": -0.083396
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.3054,
                "goal_rate": 0.187,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3054,
                "goal_rate": 0.187,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "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.2699,
                "goal_rate": 0.1652,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0176,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.8836,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8836,
                  "skill_edge": -0.0912,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.6401,
                  "xg_override": 0.2699
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3319,
                  "after": 1.1769
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7585,
                  "after": 0.6702
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5734,
                  "after": 0.5067
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3054,
                  "after": 0.2699
                },
                {
                  "stat": "goals",
                  "before": 0.187,
                  "after": 0.1652
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1549,
                "goal_rate": 0.1652,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0192,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.8836,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2699,
                  "after": 0.1549
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1549,
                "goal_rate": 0.1652,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0192,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.8836,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 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": 4211,
                "fifa_rank": 4265.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1549,
                "goal_rate": 0.1652,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0192,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.8836,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1435,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1435,
                "scorer_weight": 0.1239,
                "squad_weight_total": 0.6513,
                "weight_share": 0.1903,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1549,
                "goal_rate": 0.1652,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0192,
                "key_pass": 0,
                "rating": 6.6288,
                "minutes": 32,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.8836,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Omar El Hilali, Quilindschy Hartman",
                "opponent_faced": "Omar El Hilali, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1435,
                "projected_assists": 0,
                "assist_probability": 0.019,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.019,
                "provider_weight": 0.0154,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0288,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Carlos Lopez": {
          "player_id": 1442178,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 184,
          "market_value": 95000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 62.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 9083,
            "combined_rank_score": 7736.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 15175.0,
            "fifa_overall": 62.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Lopez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lars-Jørgen Salvesen",
                  "ranking": 9078
                },
                {
                  "player_name": "Greg Docherty",
                  "ranking": 9079
                },
                {
                  "player_name": "Scott Wright",
                  "ranking": 9080
                },
                {
                  "player_name": "Stiven Muhlethaler",
                  "ranking": 9081
                },
                {
                  "player_name": "Jordan Thompson",
                  "ranking": 9082
                }
              ],
              "lower": [
                {
                  "player_name": "Gabriel Osho",
                  "ranking": 9084
                },
                {
                  "player_name": "Sam Sutton",
                  "ranking": 9085
                },
                {
                  "player_name": "Scott Wharton",
                  "ranking": 9086
                },
                {
                  "player_name": "David Turnbull",
                  "ranking": 9087
                },
                {
                  "player_name": "Sam Smith",
                  "ranking": 9088
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€95,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 0,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 95000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 62.0; not used by the projection)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 62.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 9083,
                "fifa_rank": 15175.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 62.0
              }
            }
          ]
        },
        "Diego Murillo": {
          "player_id": 1410734,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 182,
          "market_value": 1600000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 6,
            "accurate_pass": 5,
            "expected_goals": 0.0024,
            "rating": 6.8,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.935,
            "dispossessed": 0.4,
            "duels_lost": 0,
            "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.006,
            "assists": 0,
            "expected_assists": 0.0068,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 84.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 327,
            "combined_rank_score": 208.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 197.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego Murillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                }
              ],
              "lower": [
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 329
                },
                {
                  "player_name": "Juan Berrocal",
                  "ranking": 330
                },
                {
                  "player_name": "Marcos Senesi",
                  "ranking": 331
                },
                {
                  "player_name": "Cristian Romero",
                  "ranking": 332
                }
              ]
            }
          },
          "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.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€1,600,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.04,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "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.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "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.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "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.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 84.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 327,
                "fifa_rank": 197.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Juan Berrocal": {
          "player_id": 851226,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 187,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7181,
            "minutes": 14,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 1,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0593,
                "expected_assists": 0.0058,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 40,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 11,
                "aerial_won": 4,
                "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": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "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.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 330,
            "combined_rank_score": 298.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 375.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7181,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Berrocal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                },
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 329
                }
              ],
              "lower": [
                {
                  "player_name": "Marcos Senesi",
                  "ranking": 331
                },
                {
                  "player_name": "Cristian Romero",
                  "ranking": 332
                },
                {
                  "player_name": "Alejandro Iturbe",
                  "ranking": 333
                },
                {
                  "player_name": "Oyarzabal",
                  "ranking": 334
                },
                {
                  "player_name": "Manuel Akanji",
                  "ranking": 335
                }
              ]
            }
          },
          "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",
              "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"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (2 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7181,
                "minutes": 48,
                "total_pass": 21,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 10,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 8.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 5.9459,
                  "defensive_actions": 1.0811,
                  "wonTackle": 0.5405,
                  "totalTackle_p90": 0.5466,
                  "totalClearance_p90": 6.0128,
                  "aerialWon": 2.1622
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6783857345581055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1274
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0832
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0345
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0346
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0221
                        }
                      ],
                      "others": -0.0614,
                      "total": 0.6784,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.152038
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11349
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.04865
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046473
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.02938
                        }
                      ],
                      "others_margin": -0.086623
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.19561767578125,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.075
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.062
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0326
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0321
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0294
                        }
                      ],
                      "others": 0.0302,
                      "total": 1.1956,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": -0.057947
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.050631
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.026903
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026543
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.024933
                        }
                      ],
                      "others_margin": 0.025648
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7185524702072144,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1353
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0392
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0354
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.023
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0218
                        }
                      ],
                      "others": -0.0015,
                      "total": 0.7186,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.179032
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.055271
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.047402
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030582
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.029849
                        }
                      ],
                      "others_margin": -0.002115
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.7201714515686035,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.1788
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1555
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1018
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.066
                        }
                      ],
                      "others": -0.0142,
                      "total": 2.7202,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.42768
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.168685
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05778
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.037424
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.024436
                        }
                      ],
                      "others_margin": -0.005223
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8424281477928162,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5227
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0748
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0772
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0605
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.026
                        }
                      ],
                      "others": -0.022,
                      "total": 0.8424,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.530463
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.095461
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.089795
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.069701
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.030534
                        }
                      ],
                      "others_margin": -0.025812
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2938,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0561
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0469
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0427
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0254
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0239
                        }
                      ],
                      "others": 0.0128,
                      "total": 0.2938,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.056052
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.046873
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042668
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.02541
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.023947
                        }
                      ],
                      "others_margin": 0.012682
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7181010246276855,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0514
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0474
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0143
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0112
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0109
                        }
                      ],
                      "others": -0.0291,
                      "total": 6.7181,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.05137
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.047427
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.014271
                        },
                        {
                          "name": "touches",
                          "margin": -0.01122
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.010928
                        }
                      ],
                      "others_margin": -0.029068
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7181,
                "minutes": 48,
                "total_pass": 21,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 10,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7181,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7181,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7181,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 82.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 330,
                "fifa_rank": 375.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Dani Lorenzo": {
          "player_id": 1465424,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 176,
          "market_value": 1400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0104,
            "assist_rate": 0.0169,
            "assists": 0,
            "expected_goals": 0.0233,
            "goal_rate": 0.0143,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7917,
            "minutes": 22,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 1.478,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 13,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0468,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 27,
                "key_pass": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 35,
                "key_pass": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1761,
                "expected_assists": 0.0338,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 85,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0369,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 67,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 80,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0761,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 49,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4238,
            "combined_rank_score": 2259.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4261.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7917,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Lorenzo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Raúl de Tomás",
                  "ranking": 4233
                },
                {
                  "player_name": "Romain Faivre",
                  "ranking": 4234
                },
                {
                  "player_name": "Matt Targett",
                  "ranking": 4235
                },
                {
                  "player_name": "Matías Arezo",
                  "ranking": 4236
                },
                {
                  "player_name": "Montassar Talbi",
                  "ranking": 4237
                }
              ],
              "lower": [
                {
                  "player_name": "Himad Abdelli",
                  "ranking": 4239
                },
                {
                  "player_name": "Luciano Boggio",
                  "ranking": 4240
                },
                {
                  "player_name": "José Florentín",
                  "ranking": 4241
                },
                {
                  "player_name": "John Souttar",
                  "ranking": 4242
                },
                {
                  "player_name": "Osame Sahraoui",
                  "ranking": 4243
                }
              ]
            }
          },
          "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",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "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": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (6 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0434,
                "assist_rate": 0.0707,
                "assists": 0,
                "expected_goals": 0.0975,
                "goal_rate": 0.0597,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7917,
                "minutes": 68,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.17,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 56,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.3887,
                  "expectedAssists": 0.0318,
                  "creative_index": 0.2869,
                  "creative_efficiency": 0.026,
                  "shotValueNormalized": -0.0383,
                  "dribbleValueNormalized": 0.2274
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7152079343795776,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.106
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.066
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.033
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0296
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.026
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.7152,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.12152
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.083857
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.044688
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.04195
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.03691
                        }
                      ],
                      "others_margin": -0.00393
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04340362548828125,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0219
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.007
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0037
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.0434,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.288545
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.112578
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.064712
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.059437
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036969
                        }
                      ],
                      "others_margin": -0.135779
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07071016728878021,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0111
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0043
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0037
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0025
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0707,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.123022
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.046134
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.040838
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.02879
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.028108
                        }
                      ],
                      "others_margin": -0.164875
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09747950732707977,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.036
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0067
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0059
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0189,
                      "total": 0.0975,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.219839
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.091065
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.05116
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.047114
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.040111
                        }
                      ],
                      "others_margin": -0.178516
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05967138335108757,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0371
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0227
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.008
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0597,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.28853
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.229198
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.094915
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.070388
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058803
                        }
                      ],
                      "others_margin": -0.165902
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16183465719223022,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1199
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0116
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0108
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.1618,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.438999
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06813
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.058706
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.058031
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.042933
                        }
                      ],
                      "others_margin": -0.067984
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5420346571922302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2658
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0383
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0257
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0206
                        }
                      ],
                      "others": -0.0907,
                      "total": 0.542,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.265793
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055045
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.038278
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.025653
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.020606
                        }
                      ],
                      "others_margin": -0.090709
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.791740894317627,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0534
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0304
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0254
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0117
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.033,
                      "total": 6.7917,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.053425
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030369
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025351
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.011677
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.011566
                        }
                      ],
                      "others_margin": -0.032814
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0426,
                "assist_rate": 0.0694,
                "assists": 0,
                "expected_goals": 0.0956,
                "goal_rate": 0.0586,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7917,
                "minutes": 68,
                "total_pass": 43,
                "accurate_pass": 40,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 6.0542,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 55,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0169,
                "assists": 0,
                "expected_goals": 0.0233,
                "goal_rate": 0.0143,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7917,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.478,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0169,
                "assists": 0,
                "expected_goals": 0.0233,
                "goal_rate": 0.0143,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7917,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.478,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0104,
                "assist_rate": 0.0169,
                "assists": 0,
                "expected_goals": 0.0233,
                "goal_rate": 0.0143,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7917,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 1.478,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 72.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4238,
                "fifa_rank": 4261.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            }
          ]
        },
        "Joaquín Muñoz": {
          "player_id": 904964,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 172,
          "market_value": 1400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0198,
            "assist_rate": 0.0236,
            "assists": 0,
            "expected_goals": 0.0157,
            "goal_rate": 0.031,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7596,
            "minutes": 22,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.8134,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0078,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 1.0465,
            "creation_factor": 1.0792,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0834,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 6,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0598,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0675,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0255,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4788,
            "combined_rank_score": 2863.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5029.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7596,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joaquín Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorge Ruvalcaba",
                  "ranking": 4783
                },
                {
                  "player_name": "Luca Langoni",
                  "ranking": 4784
                },
                {
                  "player_name": "John Victor",
                  "ranking": 4785
                },
                {
                  "player_name": "Diego Luna",
                  "ranking": 4786
                },
                {
                  "player_name": "Rafael Navarro",
                  "ranking": 4787
                }
              ],
              "lower": [
                {
                  "player_name": "Odin Luraas Bjørtuft",
                  "ranking": 4789
                },
                {
                  "player_name": "Harry Milne",
                  "ranking": 4790
                },
                {
                  "player_name": "Auston Trusty",
                  "ranking": 4791
                },
                {
                  "player_name": "Cameron Devlin",
                  "ranking": 4792
                },
                {
                  "player_name": "Reo Hatate",
                  "ranking": 4793
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0759,
                "assist_rate": 0.0984,
                "assists": 0,
                "expected_goals": 0.1143,
                "goal_rate": 0.1292,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7596,
                "minutes": 56,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.57,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 39,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7812,
                  "expectedAssists": 0.0423,
                  "creative_index": 0.2683,
                  "creative_efficiency": 0.0303,
                  "shotValueNormalized": -0.0665,
                  "dribbleValueNormalized": 0.2203
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7447929978370667,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1142
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0866
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0323
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0271
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0268
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.7448,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.131567
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112725
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.045525
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.038295
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.036468
                        }
                      ],
                      "others_margin": -0.003447
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07591373473405838,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0138
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0045
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0024
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0759,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.172664
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.068066
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.059178
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.033437
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.030671
                        }
                      ],
                      "others_margin": 0.027574
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09843096137046814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0133
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0073
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0027
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0017
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0017
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.0984,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.145568
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.077255
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.029493
                        },
                        {
                          "name": "touches",
                          "margin": 0.018408
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.017446
                        }
                      ],
                      "others_margin": 0.046274
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11426538228988647,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.007
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.1143,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.243586
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.083721
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060586
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058279
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.034886
                        }
                      ],
                      "others_margin": -0.057637
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1292428970336914,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.028
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0074
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0044
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.1292,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.210106
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100941
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.066414
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.05599
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.036281
                        }
                      ],
                      "others_margin": 0.090029
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38883841037750244,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0169
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0157
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0098
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0109,
                      "total": 0.3888,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": 0.048754
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043227
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032065
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.026948
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.026332
                        }
                      ],
                      "others_margin": 0.028609
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0563416481018066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0885
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0518
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0498
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0282
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0253
                        }
                      ],
                      "others": 0.0022,
                      "total": 1.0563,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.088515
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051825
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.049789
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.028227
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.025308
                        }
                      ],
                      "others_margin": 0.002254
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.759626388549805,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0429
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0265
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0206
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0101
                        }
                      ],
                      "others": -0.0593,
                      "total": 6.7596,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042884
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.026541
                        },
                        {
                          "name": "touches",
                          "margin": -0.020554
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013968
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.010136
                        }
                      ],
                      "others_margin": -0.059399
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0745,
                "assist_rate": 0.0966,
                "assists": 0,
                "expected_goals": 0.1121,
                "goal_rate": 0.1268,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7596,
                "minutes": 56,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.4279,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0182,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0274,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0182,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0274,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.0465,
                "creation_factor": 1.0792
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0274,
                  "after": 0.0157
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4788,
                "fifa_rank": 5029.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0078,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0078,
                "scorer_weight": 0.0082,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0126,
                "finishing_factor": 1.0465,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0078,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 1.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "provider_weight": 0.0107,
                "squad_weight_total": 0.5341,
                "weight_share": 0.02,
                "creation_factor": 1.0792,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Julen Lobete": {
          "player_id": 1006232,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 176,
          "market_value": 1200000,
          "stats": {
            "expected_goals": 0.0276,
            "goal_rate": 0.0361,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0051,
            "key_pass": 0,
            "rating": 6.5727,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0152,
            "projected_assists": 0,
            "assist_probability": 0.0028,
            "finishing_factor": 0.8777,
            "creation_factor": 0.9141,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2569,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5727,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julen Lobete",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jean Borg",
                  "ranking": 2564
                },
                {
                  "player_name": "Marvin Martins",
                  "ranking": 2565
                },
                {
                  "player_name": "Artem Kontsevoy",
                  "ranking": 2566
                },
                {
                  "player_name": "Jan Mlakar",
                  "ranking": 2567
                },
                {
                  "player_name": "Diyor Ramazonov",
                  "ranking": 2568
                }
              ],
              "lower": [
                {
                  "player_name": "Eneko Jauregi",
                  "ranking": 2570
                },
                {
                  "player_name": "Ryan McAidoo",
                  "ranking": 2571
                },
                {
                  "player_name": "Juan Pablo Gómez",
                  "ranking": 2572
                },
                {
                  "player_name": "Tiquinho Soares",
                  "ranking": 2573
                },
                {
                  "player_name": "Weibmar Asprilla",
                  "ranking": 2574
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1745,
                "goal_rate": 0.1311,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0171,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 9,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 9.0,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 2.0,
                  "expectedAssists": 0.0093
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1745256930589676,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0693
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0379
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0377
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.021
                        }
                      ],
                      "others": -0.0721,
                      "total": 0.1745,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.212139
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.138409
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.137763
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090915
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.08163
                        }
                      ],
                      "others_margin": -0.34589
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1310742348432541,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0458
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0225
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0094
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0415,
                      "total": 0.1311,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.174012
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.124215
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111946
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050706
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.046387
                        }
                      ],
                      "others_margin": -0.275131
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16944783926010132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1831
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1244
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0628
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0221
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.02,
                      "total": 0.1694,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": -0.37259
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.366291
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.252588
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106673
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.036128
                        }
                      ],
                      "others_margin": -0.11128
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4238853454589844,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3673
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1258
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.1112
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1089
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0712
                        }
                      ],
                      "others": -0.2269,
                      "total": 0.4239,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.367341
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.125798
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.111162
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.108853
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.071197
                        }
                      ],
                      "others_margin": -0.226958
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017118582502007484,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0056
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0021
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0171,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.481685
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.164146
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.108169
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.078534
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.061659
                        }
                      ],
                      "others_margin": -0.360774
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2503069341182709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2958
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0379
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0265
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0165
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.07,
                      "total": 0.2503,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.572952
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.104263
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.079923
                        },
                        {
                          "name": "touches",
                          "margin": 0.050717
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.043497
                        }
                      ],
                      "others_margin": -0.246866
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.572661399841309,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0522
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0355
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0242
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0165
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0983,
                      "total": 6.5727,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.052237
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.035476
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024165
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.016529
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.015582
                        }
                      ],
                      "others_margin": -0.098309
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1712,
                "goal_rate": 0.1286,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0168,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 9,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 26,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1200000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0481,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0047,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0481,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0047,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.8777,
                "creation_factor": 0.9141
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0481,
                  "after": 0.0276
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2569,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0152,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0152,
                "scorer_weight": 0.0135,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0208,
                "finishing_factor": 0.8777,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0152,
                "projected_assists": 0,
                "assist_probability": 0.0028,
                "finishing_factor": 0.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0028,
                "provider_weight": 0.0026,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0049,
                "creation_factor": 0.9141,
                "appearance_weight": 0.559,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Eneko Jauregi": {
          "player_id": 926418,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 184,
          "market_value": 720000,
          "stats": {
            "expected_goals": 0.0262,
            "goal_rate": 0.0397,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0053,
            "key_pass": 0,
            "rating": 6.6724,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.9651,
            "dispossessed": 1.9625,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0145,
            "projected_assists": 0,
            "assist_probability": 0.003,
            "finishing_factor": 0.9383,
            "creation_factor": 0.9107,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0852,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2570,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6724,
            "source_file": "data/player_rankings.csv",
            "player_name": "Eneko Jauregi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marvin Martins",
                  "ranking": 2565
                },
                {
                  "player_name": "Artem Kontsevoy",
                  "ranking": 2566
                },
                {
                  "player_name": "Jan Mlakar",
                  "ranking": 2567
                },
                {
                  "player_name": "Diyor Ramazonov",
                  "ranking": 2568
                },
                {
                  "player_name": "Julen Lobete",
                  "ranking": 2569
                }
              ],
              "lower": [
                {
                  "player_name": "Ryan McAidoo",
                  "ranking": 2571
                },
                {
                  "player_name": "Juan Pablo Gómez",
                  "ranking": 2572
                },
                {
                  "player_name": "Tiquinho Soares",
                  "ranking": 2573
                },
                {
                  "player_name": "Weibmar Asprilla",
                  "ranking": 2574
                },
                {
                  "player_name": "Kaique Kenji",
                  "ranking": 2575
                }
              ]
            }
          },
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "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.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1653,
                "goal_rate": 0.1441,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 28,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.5,
                "dispossessed": 2.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.5405,
                  "totalShots": 0.5405,
                  "minutesPlayed": 28.9189,
                  "shotValueNormalized": -0.1459,
                  "accuratePass": 3.0,
                  "expectedAssists": 0.0004
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16527053713798523,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0698
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0354
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0257
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0228
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0539,
                      "total": 0.1653,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.213827
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.128836
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.105129
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.103703
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048195
                        }
                      ],
                      "others_margin": -0.282407
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14409416913986206,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0091
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0292,
                      "total": 0.1441,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.162532
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.12939
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.124044
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049132
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.037077
                        }
                      ],
                      "others_margin": -0.18552
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.41955485939979553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1275
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0645
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0456
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0344
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.032
                        }
                      ],
                      "others": -0.127,
                      "total": 0.4196,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.244065
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.130922
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090804
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069198
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.060404
                        }
                      ],
                      "others_margin": -0.264556
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0150548593997955,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2265
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0994
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0846
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0705
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0578
                        }
                      ],
                      "others": -0.1662,
                      "total": 1.015,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.226544
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.099362
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.084607
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.070533
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.057849
                        }
                      ],
                      "others_margin": -0.1662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017704607918858528,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0246
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0018
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0177,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.526363
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.178325
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.075715
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.068002
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.05486
                        }
                      ],
                      "others_margin": -0.318043
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26844561100006104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2423
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0478
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0319
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0265
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0186
                        }
                      ],
                      "others": -0.0957,
                      "total": 0.2684,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.442107
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.116081
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.08566
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.071761
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.04993
                        }
                      ],
                      "others_margin": -0.304808
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.672390460968018,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0385
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0316
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0284
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0637,
                      "total": 6.6724,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038476
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031597
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.028417
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.022622
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.014552
                        }
                      ],
                      "others_margin": -0.063741
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1622,
                "goal_rate": 0.1414,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 28,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.4343,
                "dispossessed": 1.9625,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 720000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0456,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0049,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0456,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0049,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.9383,
                "creation_factor": 0.9107
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0456,
                  "after": 0.0262
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2570,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0145,
                "scorer_weight": 0.0137,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0211,
                "finishing_factor": 0.9383,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.003,
                "finishing_factor": 0.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.003,
                "provider_weight": 0.0027,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0051,
                "creation_factor": 0.9107,
                "appearance_weight": 0.559,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Julen Lobete": {
          "player_id": 1006232,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 176,
          "market_value": 1200000,
          "stats": {
            "expected_goals": 0.0276,
            "goal_rate": 0.0361,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0051,
            "key_pass": 0,
            "rating": 6.5727,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 1,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0152,
            "projected_assists": 0,
            "assist_probability": 0.0028,
            "finishing_factor": 0.8777,
            "creation_factor": 0.9141,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2569,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5727,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julen Lobete",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jean Borg",
                  "ranking": 2564
                },
                {
                  "player_name": "Marvin Martins",
                  "ranking": 2565
                },
                {
                  "player_name": "Artem Kontsevoy",
                  "ranking": 2566
                },
                {
                  "player_name": "Jan Mlakar",
                  "ranking": 2567
                },
                {
                  "player_name": "Diyor Ramazonov",
                  "ranking": 2568
                }
              ],
              "lower": [
                {
                  "player_name": "Eneko Jauregi",
                  "ranking": 2570
                },
                {
                  "player_name": "Ryan McAidoo",
                  "ranking": 2571
                },
                {
                  "player_name": "Juan Pablo Gómez",
                  "ranking": 2572
                },
                {
                  "player_name": "Tiquinho Soares",
                  "ranking": 2573
                },
                {
                  "player_name": "Weibmar Asprilla",
                  "ranking": 2574
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1745,
                "goal_rate": 0.1311,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0171,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 9,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 27,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 9.0,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 2.0,
                  "expectedAssists": 0.0093
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1745256930589676,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0693
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0379
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0377
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.021
                        }
                      ],
                      "others": -0.0721,
                      "total": 0.1745,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.212139
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.138409
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.137763
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090915
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.08163
                        }
                      ],
                      "others_margin": -0.34589
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1310742348432541,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0458
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0225
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0094
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0415,
                      "total": 0.1311,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.174012
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.124215
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111946
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050706
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.046387
                        }
                      ],
                      "others_margin": -0.275131
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16944783926010132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1831
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1244
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0628
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0221
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.02,
                      "total": 0.1694,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": -0.37259
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.366291
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.252588
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106673
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.036128
                        }
                      ],
                      "others_margin": -0.11128
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4238853454589844,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3673
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1258
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.1112
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.1089
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0712
                        }
                      ],
                      "others": -0.2269,
                      "total": 0.4239,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.367341
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.125798
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.111162
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.108853
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.071197
                        }
                      ],
                      "others_margin": -0.226958
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017118582502007484,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0056
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0032
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0021
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0171,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.481685
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.164146
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.108169
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.078534
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.061659
                        }
                      ],
                      "others_margin": -0.360774
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2503069341182709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2958
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0379
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0265
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0165
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.07,
                      "total": 0.2503,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.572952
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.104263
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.079923
                        },
                        {
                          "name": "touches",
                          "margin": 0.050717
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.043497
                        }
                      ],
                      "others_margin": -0.246866
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.572661399841309,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0522
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0355
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0242
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0165
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0983,
                      "total": 6.5727,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.052237
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.035476
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024165
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.016529
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.015582
                        }
                      ],
                      "others_margin": -0.098309
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1712,
                "goal_rate": 0.1286,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0168,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 9,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 26,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1200000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0481,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0047,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0481,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0047,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.8777,
                "creation_factor": 0.9141
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0481,
                  "after": 0.0276
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2569,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0152,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0152,
                "scorer_weight": 0.0135,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0208,
                "finishing_factor": 0.8777,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0276,
                "goal_rate": 0.0361,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0051,
                "key_pass": 0,
                "rating": 6.5727,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 1,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0152,
                "projected_assists": 0,
                "assist_probability": 0.0028,
                "finishing_factor": 0.8777,
                "creation_factor": 0.9141,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0028,
                "provider_weight": 0.0026,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0049,
                "creation_factor": 0.9141,
                "appearance_weight": 0.559,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Eneko Jauregi": {
          "player_id": 926418,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 184,
          "market_value": 720000,
          "stats": {
            "expected_goals": 0.0262,
            "goal_rate": 0.0397,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0053,
            "key_pass": 0,
            "rating": 6.6724,
            "minutes": 25,
            "total_pass": 1,
            "accurate_pass": 1,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.9651,
            "dispossessed": 1.9625,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0145,
            "projected_assists": 0,
            "assist_probability": 0.003,
            "finishing_factor": 0.9383,
            "creation_factor": 0.9107,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0852,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2570,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6724,
            "source_file": "data/player_rankings.csv",
            "player_name": "Eneko Jauregi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marvin Martins",
                  "ranking": 2565
                },
                {
                  "player_name": "Artem Kontsevoy",
                  "ranking": 2566
                },
                {
                  "player_name": "Jan Mlakar",
                  "ranking": 2567
                },
                {
                  "player_name": "Diyor Ramazonov",
                  "ranking": 2568
                },
                {
                  "player_name": "Julen Lobete",
                  "ranking": 2569
                }
              ],
              "lower": [
                {
                  "player_name": "Ryan McAidoo",
                  "ranking": 2571
                },
                {
                  "player_name": "Juan Pablo Gómez",
                  "ranking": 2572
                },
                {
                  "player_name": "Tiquinho Soares",
                  "ranking": 2573
                },
                {
                  "player_name": "Weibmar Asprilla",
                  "ranking": 2574
                },
                {
                  "player_name": "Kaique Kenji",
                  "ranking": 2575
                }
              ]
            }
          },
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "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.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1653,
                "goal_rate": 0.1441,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0177,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 28,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.5,
                "dispossessed": 2.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.5405,
                  "totalShots": 0.5405,
                  "minutesPlayed": 28.9189,
                  "shotValueNormalized": -0.1459,
                  "accuratePass": 3.0,
                  "expectedAssists": 0.0004
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16527053713798523,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0698
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0354
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0257
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0228
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0539,
                      "total": 0.1653,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.213827
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.128836
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.105129
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.103703
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048195
                        }
                      ],
                      "others_margin": -0.282407
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14409416913986206,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0091
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0292,
                      "total": 0.1441,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.162532
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.12939
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.124044
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049132
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.037077
                        }
                      ],
                      "others_margin": -0.18552
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.41955485939979553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1275
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0645
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0456
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0344
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.032
                        }
                      ],
                      "others": -0.127,
                      "total": 0.4196,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.244065
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.130922
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090804
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069198
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.060404
                        }
                      ],
                      "others_margin": -0.264556
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0150548593997955,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2265
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0994
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0846
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0705
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0578
                        }
                      ],
                      "others": -0.1662,
                      "total": 1.015,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.226544
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.099362
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.084607
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.070533
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.057849
                        }
                      ],
                      "others_margin": -0.1662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017704607918858528,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0246
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0018
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0177,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.526363
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.178325
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.075715
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.068002
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.05486
                        }
                      ],
                      "others_margin": -0.318043
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26844561100006104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2423
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0478
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0319
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0265
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0186
                        }
                      ],
                      "others": -0.0957,
                      "total": 0.2684,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.442107
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.116081
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.08566
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.071761
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.04993
                        }
                      ],
                      "others_margin": -0.304808
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.672390460968018,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0385
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0316
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0284
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0637,
                      "total": 6.6724,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038476
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031597
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.028417
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.022622
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.014552
                        }
                      ],
                      "others_margin": -0.063741
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.1622,
                "goal_rate": 0.1414,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0174,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 28,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.4343,
                "dispossessed": 1.9625,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 720000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0456,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0049,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0456,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0049,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.9383,
                "creation_factor": 0.9107
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0456,
                  "after": 0.0262
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2570,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0145,
                "scorer_weight": 0.0137,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0211,
                "finishing_factor": 0.9383,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0262,
                "goal_rate": 0.0397,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0053,
                "key_pass": 0,
                "rating": 6.6724,
                "minutes": 25,
                "total_pass": 1,
                "accurate_pass": 1,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.9651,
                "dispossessed": 1.9625,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0145,
                "projected_assists": 0,
                "assist_probability": 0.003,
                "finishing_factor": 0.9383,
                "creation_factor": 0.9107,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.003,
                "provider_weight": 0.0027,
                "squad_weight_total": 0.5341,
                "weight_share": 0.0051,
                "creation_factor": 0.9107,
                "appearance_weight": 0.559,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Joaquín Muñoz": {
          "player_id": 904964,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 172,
          "market_value": 1400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0198,
            "assist_rate": 0.0236,
            "assists": 0,
            "expected_goals": 0.0157,
            "goal_rate": 0.031,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7596,
            "minutes": 22,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.8134,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0078,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 1.0465,
            "creation_factor": 1.0792,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416303.0,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0834,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 6,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338.0,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347.0,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320.0,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0598,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312.0,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0675,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0255,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4788,
            "combined_rank_score": 2863.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5029.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7596,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joaquín Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorge Ruvalcaba",
                  "ranking": 4783
                },
                {
                  "player_name": "Luca Langoni",
                  "ranking": 4784
                },
                {
                  "player_name": "John Victor",
                  "ranking": 4785
                },
                {
                  "player_name": "Diego Luna",
                  "ranking": 4786
                },
                {
                  "player_name": "Rafael Navarro",
                  "ranking": 4787
                }
              ],
              "lower": [
                {
                  "player_name": "Odin Luraas Bjørtuft",
                  "ranking": 4789
                },
                {
                  "player_name": "Harry Milne",
                  "ranking": 4790
                },
                {
                  "player_name": "Auston Trusty",
                  "ranking": 4791
                },
                {
                  "player_name": "Cameron Devlin",
                  "ranking": 4792
                },
                {
                  "player_name": "Reo Hatate",
                  "ranking": 4793
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0759,
                "assist_rate": 0.0984,
                "assists": 0,
                "expected_goals": 0.1143,
                "goal_rate": 0.1292,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7596,
                "minutes": 56,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.57,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 39,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7812,
                  "expectedAssists": 0.0423,
                  "creative_index": 0.2683,
                  "creative_efficiency": 0.0303,
                  "shotValueNormalized": -0.0665,
                  "dribbleValueNormalized": 0.2203
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7447929978370667,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1142
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0866
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0323
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0271
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0268
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.7448,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.131567
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112725
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.045525
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.038295
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.036468
                        }
                      ],
                      "others_margin": -0.003447
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07591373473405838,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0138
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0045
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0024
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0759,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.172664
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.068066
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.059178
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.033437
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.030671
                        }
                      ],
                      "others_margin": 0.027574
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09843096137046814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0133
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0073
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0027
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0017
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0017
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.0984,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.145568
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.077255
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.029493
                        },
                        {
                          "name": "touches",
                          "margin": 0.018408
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.017446
                        }
                      ],
                      "others_margin": 0.046274
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11426538228988647,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0115
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.007
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.1143,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.243586
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.083721
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060586
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058279
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.034886
                        }
                      ],
                      "others_margin": -0.057637
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1292428970336914,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.028
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0074
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0044
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.1292,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.210106
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100941
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.066414
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.05599
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.036281
                        }
                      ],
                      "others_margin": 0.090029
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38883841037750244,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0169
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0157
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0098
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0109,
                      "total": 0.3888,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": 0.048754
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043227
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032065
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.026948
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.026332
                        }
                      ],
                      "others_margin": 0.028609
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0563416481018066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0885
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0518
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0498
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0282
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0253
                        }
                      ],
                      "others": 0.0022,
                      "total": 1.0563,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.088515
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051825
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.049789
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.028227
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.025308
                        }
                      ],
                      "others_margin": 0.002254
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.759626388549805,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0429
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0265
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0206
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0101
                        }
                      ],
                      "others": -0.0593,
                      "total": 6.7596,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042884
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.026541
                        },
                        {
                          "name": "touches",
                          "margin": -0.020554
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013968
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.010136
                        }
                      ],
                      "others_margin": -0.059399
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0745,
                "assist_rate": 0.0966,
                "assists": 0,
                "expected_goals": 0.1121,
                "goal_rate": 0.1268,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7596,
                "minutes": 56,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.4279,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 38,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0182,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0274,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0182,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0274,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.77 (squad xG sum 1.3330, xG scale 0.5739, xA scale 1.0899, team xA 0.50 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.0465,
                "creation_factor": 1.0792
              },
              "params": {
                "team_lambda": 0.765,
                "squad_xg_sum": 1.333,
                "squad_xa_sum": 0.4562,
                "team_expected_assists": 0.4973,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.5739,
                "xa_scale": 1.0899,
                "opponent_lambda": 1.257,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0274,
                  "after": 0.0157
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4788,
                "fifa_rank": 5029.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0078,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0078,
                "scorer_weight": 0.0082,
                "squad_weight_total": 0.6513,
                "weight_share": 0.0126,
                "finishing_factor": 1.0465,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0198,
                "assist_rate": 0.0236,
                "assists": 0,
                "expected_goals": 0.0157,
                "goal_rate": 0.031,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7596,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0078,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 1.0465,
                "creation_factor": 1.0792,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "provider_weight": 0.0107,
                "squad_weight_total": 0.5341,
                "weight_share": 0.02,
                "creation_factor": 1.0792,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.77,
        "expected_assists": 0.5,
        "total_shots": 8,
        "shots_on_target": 2,
        "total_passes": 289,
        "interceptions": 4,
        "tackles": 9,
        "avg_rating": 6.78,
        "possession_estimated_pct": 49.4,
        "pressing_actions_per_90": 6.3
      }
    },
    "Espanyol": {
      "formation": "3-5-2",
      "players": {
        "Marko Dmitrović": {
          "player_id": 94527,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 194,
          "market_value": 650000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0277,
            "rating": 7.0983,
            "minutes": 90,
            "total_pass": 24,
            "accurate_pass": 17,
            "duels_won": 0,
            "total_long_balls": 12,
            "accurate_long_balls": 5,
            "touches": 38,
            "clearances": 0,
            "ball_recovery": 11,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 14,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.33,
            "shotsOnTargetAgainst": 5.6667,
            "cleanSheets": 0.3333,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 76.5,
            "cleanSheetPct": 33.3,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.33,
            "gk_engine_opponent_lambda": 0.7655,
            "shots_faced": 7.3,
            "expected_saves": 1.79,
            "high_pressure_saves": 0.61,
            "opponent_faced": "Chupete, Adrián Niño",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": -0.9473
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "clearances": 3,
                "ball_recovery": 8,
                "goals_prevented": -1.0696
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 16,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 15,
                "saves": 4,
                "goals_prevented": 0.5262
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 1,
                "ball_recovery": 18,
                "saves": 2,
                "goals_prevented": -0.0956
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "interceptions": 1,
                "ball_recovery": 9,
                "saves": 7,
                "goals_prevented": 1.0653
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 6,
                "goals_prevented": -0.0185
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1310,
            "combined_rank_score": 568.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 180.0,
            "sofascore_rating": 7.2333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 957.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0983,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marko Dmitrović",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                },
                {
                  "player_name": "Emil Audero",
                  "ranking": 1308
                },
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                }
              ],
              "lower": [
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                },
                {
                  "player_name": "Javier Guerra",
                  "ranking": 1314
                },
                {
                  "player_name": "Pedro Gonçalves",
                  "ranking": 1315
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.718,
          "history_matches": 7,
          "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",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.718,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 7 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0283,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 2.7481,
                  "goalkeeperValueNormalized": -0.0767,
                  "sweeper_actions_p90": 1.6337,
                  "possessionLostCtrl": 7.0294,
                  "accurateKeeperSweeper": 1.4129,
                  "accurateLongBalls": 5.0366
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.3074400424957275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0995
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.075
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0609
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0364
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0346
                        }
                      ],
                      "others": 0.0149,
                      "total": 3.3074,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.032786
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.024012
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.019073
                        },
                        {
                          "name": "saves",
                          "margin": 0.011236
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.010555
                        }
                      ],
                      "others_margin": 0.004551
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.02825086936354637,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.1337
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0581
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0559
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0547
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0354
                        }
                      ],
                      "others": 0.0324,
                      "total": 0.0283,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.133679
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.0581
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.055931
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.054713
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.035386
                        }
                      ],
                      "others_margin": 0.032304
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0983357429504395,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.096
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0853
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0555
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0543
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0496
                        }
                      ],
                      "others": 0.0506,
                      "total": 7.0983,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.096033
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.085315
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.055529
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.054338
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.049636
                        }
                      ],
                      "others_margin": 0.050666
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14
              },
              "params": {
                "market_value_eur": 650000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 7,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.2454,
                  "after": 3.3043
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33
              },
              "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,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "gk_engine_opponent_lambda": 0.7655,
                "shots_faced": 7.3,
                "expected_saves": 1.79,
                "high_pressure_saves": 0.61,
                "opponent_faced": "Chupete, Adrián Niño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Chupete, Adrián Niño",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.7655
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "gk_engine_opponent_lambda": 0.7655,
                "shots_faced": 7.3,
                "expected_saves": 1.79,
                "high_pressure_saves": 0.61,
                "opponent_faced": "Chupete, Adrián Niño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.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.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "gk_engine_opponent_lambda": 0.7655,
                "shots_faced": 7.3,
                "expected_saves": 1.79,
                "high_pressure_saves": 0.61,
                "opponent_faced": "Chupete, Adrián Niño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.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": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1310,
                "fifa_rank": 957.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "gk_engine_opponent_lambda": 0.7655,
                "shots_faced": 7.3,
                "expected_saves": 1.79,
                "high_pressure_saves": 0.61,
                "opponent_faced": "Chupete, Adrián Niño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.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.2812,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "goals_prevented": 0.0277,
                "rating": 7.0983,
                "minutes": 90,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 11,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.33,
                "shotsOnTargetAgainst": 5.6667,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 76.5,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "gk_engine_opponent_lambda": 0.7655,
                "shots_faced": 7.3,
                "expected_saves": 1.79,
                "high_pressure_saves": 0.61,
                "opponent_faced": "Chupete, Adrián Niño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.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.7671,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Omar El Hilali": {
          "player_id": 1064026,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 183,
          "market_value": 15900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.788,
            "minutes": 88,
            "total_pass": 27,
            "accurate_pass": 22,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 55,
            "possession_lost": 11.1188,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "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.1642,
            "assists": 1,
            "expected_goals": 0.0,
            "expected_assists": 0.1796,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 37,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.33,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Chupete",
            "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": 1,
            "assist_probability": 0.1644,
            "finishing_factor": 1.0,
            "creation_factor": 0.9995,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0217,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.7313,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 75,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0659,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0954,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3547,
            "combined_rank_score": 1516.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2410.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.788,
            "source_file": "data/player_rankings.csv",
            "player_name": "Omar El Hilali",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sergio Camello",
                  "ranking": 3542
                },
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                },
                {
                  "player_name": "Janis Blaswich",
                  "ranking": 3545
                },
                {
                  "player_name": "Jobe Bellingham",
                  "ranking": 3546
                }
              ],
              "lower": [
                {
                  "player_name": "Matt Turner",
                  "ranking": 3548
                },
                {
                  "player_name": "Jack Rudoni",
                  "ranking": 3549
                },
                {
                  "player_name": "Nemanja Matić",
                  "ranking": 3550
                },
                {
                  "player_name": "Reiss Nelson",
                  "ranking": 3551
                },
                {
                  "player_name": "Tolu Arokodare",
                  "ranking": 3552
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.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",
              "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": 1.0267,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 26,
                "accurate_pass": 21,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.83,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.17,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.16,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 36,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.6172,
                  "defensive_actions": 2.966,
                  "wonTackle": 1.0429,
                  "totalTackle_p90": 2.2392,
                  "totalClearance_p90": 4.6868,
                  "aerialWon": 1.8515
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7889646887779236,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1469
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0211
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0122
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.009
                        }
                      ],
                      "others": 0.0278,
                      "total": 0.789,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.177423
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.027493
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.017181
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.016057
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.011938
                        }
                      ],
                      "others_margin": 0.035827
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7343212366104126,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1538
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1389
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0816
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0356
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0201
                        }
                      ],
                      "others": 0.0442,
                      "total": 1.7343,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.109354
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.089423
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.049037
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.021106
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.011983
                        }
                      ],
                      "others_margin": 0.025761
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9101012349128723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.056
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0465
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0442
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0209
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0131
                        }
                      ],
                      "others": 0.0184,
                      "total": 0.9101,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": 0.06559
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.051442
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.048754
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.023329
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.014529
                        }
                      ],
                      "others_margin": 0.020335
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.7026803493499756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4214
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1781
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1328
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0716
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0523
                        }
                      ],
                      "others": -0.0803,
                      "total": 3.7027,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.117248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.047873
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.03591
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.018846
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.013741
                        }
                      ],
                      "others_margin": -0.021455
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.698978304862976,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2103
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1778
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.064
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0447
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0352
                        }
                      ],
                      "others": -0.1026,
                      "total": 1.699,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.153258
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.113471
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.037863
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.025628
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.019716
                        }
                      ],
                      "others_margin": -0.058629
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5768480896949768,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0693
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0172
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0159
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0156
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.002,
                      "total": 0.5768,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "duelWon_p90",
                          "margin": 0.069264
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.01722
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.015854
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.015573
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015171
                        }
                      ],
                      "others_margin": -0.001937
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.78801965713501,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0509
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0159
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0135
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0128
                        }
                      ],
                      "others": -0.0262,
                      "total": 6.788,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.050887
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.022099
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.015875
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.013534
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.012793
                        }
                      ],
                      "others_margin": -0.026141
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0267, quality 0.589)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1745,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1643,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 15900000,
                "quality_factor": 0.5889,
                "boost_factor": 1.0267
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0591)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1643,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33
              },
              "params": {
                "blend_weight": 0.0591,
                "history_matches": 6,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1379
                },
                {
                  "stat": "totalShots",
                  "before": 0.5922,
                  "after": 0.5572
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.81,
                  "after": 0.8409
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9344,
                  "after": 0.9186
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1745,
                  "after": 0.1642
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1643,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33
              },
              "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,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1643,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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": "Chupete",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1796,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.9995
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1643,
                  "after": 0.1796
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1796,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.9995,
                "fifa_overall": 75.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": 3547,
                "fifa_rank": 2410.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1796,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.9995,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0008,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 6.788,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 11.1188,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "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.1642,
                "assists": 1,
                "expected_goals": 0.0,
                "expected_assists": 0.1796,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 37,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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": 1,
                "assist_probability": 0.1644,
                "finishing_factor": 1.0,
                "creation_factor": 0.9995,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1644,
                "provider_weight": 0.1795,
                "squad_weight_total": 0.7671,
                "weight_share": 0.234,
                "creation_factor": 0.9995,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Quilindschy Hartman": {
          "player_id": 1392044,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 183,
          "market_value": 15500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7403,
            "minutes": 50,
            "total_pass": 30,
            "accurate_pass": 26,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 18,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 42,
            "possession_lost": 9.2284,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.1121,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 50,
            "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.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Chupete",
            "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.106,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0124,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0916,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 3,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2068,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3658,
            "combined_rank_score": 1619.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2417.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7403,
            "source_file": "data/player_rankings.csv",
            "player_name": "Quilindschy Hartman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                },
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                },
                {
                  "player_name": "Giorgi Kochorashvili",
                  "ranking": 3657
                }
              ],
              "lower": [
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                },
                {
                  "player_name": "Andrés Cubas",
                  "ranking": 3662
                },
                {
                  "player_name": "Raúl Rangel",
                  "ranking": 3663
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0254,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 29,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 41,
                "possession_lost": 9.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.6608,
                  "defensive_actions": 2.76,
                  "wonTackle": 1.38,
                  "totalTackle_p90": 2.4295,
                  "totalClearance_p90": 0.6608,
                  "aerialWon": 0.6113
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8422348499298096,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1126
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0923
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0191
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0155
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0139
                        }
                      ],
                      "others": -0.0202,
                      "total": 0.8422,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.133093
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.110354
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.021816
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.018052
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.016192
                        }
                      ],
                      "others_margin": -0.023649
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.33738374710083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1333
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0571
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0386
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0344
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0146
                        }
                      ],
                      "others": 0.0175,
                      "total": 1.3374,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.095419
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.039774
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.02778
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.025469
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.010992
                        }
                      ],
                      "others_margin": 0.013145
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8460686206817627,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0474
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0239
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0171
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0121
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0104
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.8461,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": 0.055852
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.027726
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.019908
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.014017
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.012207
                        }
                      ],
                      "others_margin": 0.002648
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.879094123840332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8854
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.4048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1895
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0822
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0704
                        }
                      ],
                      "others": -0.0406,
                      "total": 1.8791,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.302943
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.176484
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0947
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.042191
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036016
                        }
                      ],
                      "others_margin": -0.021381
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.49809637665748596,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6254
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0668
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0277
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0248
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0234
                        }
                      ],
                      "others": -0.0034,
                      "total": 0.4981,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.67845
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.109496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049221
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.046186
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.04569
                        }
                      ],
                      "others_margin": -0.006637
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.39932623505592346,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0411
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0146
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0117
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.3993,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.041119
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.014623
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.012703
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.011668
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.010367
                        }
                      ],
                      "others_margin": -0.011645
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74032735824585,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0354
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0131
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.01
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0043,
                      "total": 6.7403,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "duel_win_rate",
                          "margin": 0.035412
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.015541
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.01309
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.01001
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.009965
                        }
                      ],
                      "others_margin": -0.004267
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0254, quality 0.585)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1025,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846,
                "boost_factor": 1.0254
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1025,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 3,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Espanyol"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1025,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 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": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1025,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "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.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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": "Chupete",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1121,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "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.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.8
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1025,
                  "after": 0.1121
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1121,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "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.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.8,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3658,
                "fifa_rank": 2417.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1121,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "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.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.8,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0008,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7403,
                "minutes": 50,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 42,
                "possession_lost": 9.2284,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1121,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 50,
                "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.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Chupete",
                "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.106,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.106,
                "provider_weight": 0.0897,
                "squad_weight_total": 0.7671,
                "weight_share": 0.1169,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Vanja Drkušić": {
          "player_id": 908617,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 186,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7157,
            "minutes": 38,
            "total_pass": 40,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 0,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 42.6,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "opponent_faced": "Chupete",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 811,
            "combined_rank_score": 532.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 6.0,
            "fifa_rank": 673.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7157,
            "source_file": "data/player_rankings.csv",
            "player_name": "Vanja Drkušić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                },
                {
                  "player_name": "Roy Revivo",
                  "ranking": 808
                },
                {
                  "player_name": "Hugo Magallanes",
                  "ranking": 809
                },
                {
                  "player_name": "Dženis Burnić",
                  "ranking": 810
                }
              ],
              "lower": [
                {
                  "player_name": "Hugo Souza",
                  "ranking": 812
                },
                {
                  "player_name": "Teddy Teuma",
                  "ranking": 813
                },
                {
                  "player_name": "Yoel Bárcenas",
                  "ranking": 814
                },
                {
                  "player_name": "Piero Quispe",
                  "ranking": 815
                },
                {
                  "player_name": "Seung-wan Ryu",
                  "ranking": 816
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9905,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 115.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.09, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": null
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.4451,
                  "defensive_actions": 0.8921,
                  "wonTackle": 0.6113,
                  "totalTackle_p90": 2.4368,
                  "totalClearance_p90": 5.5345,
                  "aerialWon": 0.6608
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6246501207351685,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.1409
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0989
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0336
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0294
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.083,
                      "total": 0.6247,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.169538
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.13898
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.049354
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.041274
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.026326
                        }
                      ],
                      "others_margin": -0.124716
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1124162673950195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1244
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.1096
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0802
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0492
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0344
                        }
                      ],
                      "others": -0.0699,
                      "total": 1.1124,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.089364
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.07829
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.061392
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.039628
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.02867
                        }
                      ],
                      "others_margin": -0.061016
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5976866483688354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1509
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0333
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0195
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.018
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0127
                        }
                      ],
                      "others": 0.0065,
                      "total": 0.5977,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.201801
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.050563
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030873
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.029427
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.021204
                        }
                      ],
                      "others_margin": 0.010791
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.8975613117218018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6146
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2793
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1784
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1258
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0729
                        }
                      ],
                      "others": -0.1344,
                      "total": 2.8976,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.200175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.095967
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056811
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.03973
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.023775
                        }
                      ],
                      "others_margin": -0.045351
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6304773688316345,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.605
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.09
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0778
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0324
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.027
                        }
                      ],
                      "others": -0.0517,
                      "total": 0.6305,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.647242
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.127025
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.108818
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.046775
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.03877
                        }
                      ],
                      "others_margin": -0.078966
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.27914974093437195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0445
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0426
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0373
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0239
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0384,
                      "total": 0.2791,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.044505
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042581
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.037326
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.023887
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.010216
                        }
                      ],
                      "others_margin": -0.038381
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.715691089630127,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0898
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0424
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0169
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0144
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0461,
                      "total": 6.7157,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.089751
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.042358
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.016924
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.014426
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.012121
                        }
                      ],
                      "others_margin": -0.046019
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9905, quality 0.468)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9905
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -1.57
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0813
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0813
                },
                {
                  "stat": "wonTackle",
                  "before": 0.592,
                  "after": 0.6253
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6187,
                  "after": 0.5969
                },
                {
                  "stat": "totalShots",
                  "before": 0.2765,
                  "after": 0.2668
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 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": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Chupete",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Chupete",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Chupete",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Chupete",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 811,
                "fifa_rank": 673.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Chupete",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0008,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7157,
                "minutes": 38,
                "total_pass": 40,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 0,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 42.6,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Chupete",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.001,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0013,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Urko González": {
          "player_id": 1064009,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 4,
          "height": 189,
          "market_value": 11600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0383,
            "assist_rate": 0.0493,
            "assists": 0,
            "expected_goals": 0.1153,
            "goal_rate": 0.0873,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7417,
            "minutes": 63,
            "total_pass": 26,
            "accurate_pass": 23,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 4.6263,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 47,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.9524,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 70.4,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.95,
            "duel_xg_multiplier": 1.1401,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.0,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.545,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "David Larrubia",
            "opponent_faced": "David Larrubia",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1089,
            "projected_assists": 0,
            "assist_probability": 0.0376,
            "finishing_factor": 0.8475,
            "creation_factor": 1.1682,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 21
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 84,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0092,
                "expected_assists": 0.0489,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 26,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 24,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 19,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 28,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3267,
            "combined_rank_score": 1211.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1978.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7417,
            "source_file": "data/player_rankings.csv",
            "player_name": "Urko González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Félix Correia",
                  "ranking": 3262
                },
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                },
                {
                  "player_name": "Mamadou Sarr",
                  "ranking": 3265
                },
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                }
              ],
              "lower": [
                {
                  "player_name": "Tasos Douvikas",
                  "ranking": 3268
                },
                {
                  "player_name": "Sam Beukema",
                  "ranking": 3269
                },
                {
                  "player_name": "Máximo Perrone",
                  "ranking": 3270
                },
                {
                  "player_name": "Federico Viñas",
                  "ranking": 3271
                },
                {
                  "player_name": "Marco Reus",
                  "ranking": 3272
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.709,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.709,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 190.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.14, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0346,
                "assist_rate": 0.0506,
                "assists": 0,
                "expected_goals": 0.097,
                "goal_rate": 0.0787,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 25,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "possession_lost": 4.57,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1877,
                  "expectedAssists": 0.0173,
                  "creative_index": 0.0437,
                  "creative_efficiency": 0.0016,
                  "shotValueNormalized": -0.0019,
                  "dribbleValueNormalized": 0.1293
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5565818548202515,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1523
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1052
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0352
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0325
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0287
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.5566,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.17951
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.145994
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.054087
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.05259
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.048972
                        }
                      ],
                      "others_margin": -0.02864
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03461920842528343,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0334
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0071
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0027
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0022
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0055,
                      "total": 0.0346,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.481883
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.141562
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.060548
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.052208
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.041715
                        }
                      ],
                      "others_margin": -0.146237
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05062340572476387,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0126
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0082
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0039
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.160801
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.119814
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.062516
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.040875
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.037249
                        }
                      ],
                      "others_margin": -0.098646
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09697678685188293,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0329
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0099
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0078
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0073
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0229,
                      "total": 0.097,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.198809
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.068455
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.057347
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.056629
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.039536
                        }
                      ],
                      "others_margin": -0.2122
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07867767661809921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0403
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0216
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0081
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0071
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.0039,
                      "total": 0.0787,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.318422
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.224481
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.099303
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.096008
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.055368
                        }
                      ],
                      "others_margin": 0.051618
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.166626438498497,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1262
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.013
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0087
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0135,
                      "total": 0.1666,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.468477
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.06362
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.044893
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.027611
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.022889
                        }
                      ],
                      "others_margin": -0.078115
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.520226438498497,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3154
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0399
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0385
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0255
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.074,
                      "total": 0.5202,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.315436
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039889
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.038492
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.025473
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.024642
                        }
                      ],
                      "others_margin": -0.073947
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.741735935211182,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0439
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.03
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0149
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0127
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0362,
                      "total": 6.7417,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.043878
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030005
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.014887
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.012736
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010237
                        }
                      ],
                      "others_margin": -0.03605
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.541)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.035,
                "assist_rate": 0.0512,
                "assists": 0,
                "expected_goals": 0.0982,
                "goal_rate": 0.0796,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0123
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0379)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.035,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0982,
                "goal_rate": 0.0766,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95
              },
              "params": {
                "blend_weight": 0.0379,
                "history_matches": 7,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "totalShots",
                  "before": 0.5267,
                  "after": 0.5067
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1687,
                  "after": 0.1623
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.035,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0982,
                "goal_rate": 0.0766,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95
              },
              "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,
                "expected_assists": 0.035,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.112,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95,
                "duel_xg_multiplier": 1.1401,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.545,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Larrubia",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.545,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1401,
                  "skill_edge": 0.0353,
                  "height_edge": 0.06,
                  "attacker_skill": 0.5558,
                  "defender_skill": 0.4773,
                  "xg_override": 0.112
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.3
                },
                {
                  "stat": "totalShots",
                  "before": 0.5203,
                  "after": 0.5932
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.358,
                  "after": 0.4082
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1623,
                  "after": 0.185
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0982,
                  "after": 0.112
                },
                {
                  "stat": "goals",
                  "before": 0.0766,
                  "after": 0.0873
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0383,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.1153,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95,
                "duel_xg_multiplier": 1.1401,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.545,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8475,
                "creation_factor": 1.1682
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0383,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.1153,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95,
                "duel_xg_multiplier": 1.1401,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.545,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8475,
                "creation_factor": 1.1682,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3267,
                "fifa_rank": 1978.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0383,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.1153,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95,
                "duel_xg_multiplier": 1.1401,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.545,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1089,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8475,
                "creation_factor": 1.1682,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1089,
                "scorer_weight": 0.0977,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0763,
                "finishing_factor": 0.8475,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "expected_assists": 0.0383,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.1153,
                "goal_rate": 0.0873,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7417,
                "minutes": 63,
                "total_pass": 26,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6263,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 47,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.9524,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 70.4,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.95,
                "duel_xg_multiplier": 1.1401,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.545,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1089,
                "projected_assists": 0,
                "assist_probability": 0.0376,
                "finishing_factor": 0.8475,
                "creation_factor": 1.1682,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0376,
                "provider_weight": 0.0447,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0583,
                "creation_factor": 1.1682,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Tyrhys Dolan": {
          "player_id": 1063015,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 170,
          "market_value": 10800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1046,
            "assist_rate": 0.0813,
            "assists": 0,
            "expected_goals": 0.148,
            "goal_rate": 0.1402,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8283,
            "minutes": 72,
            "total_pass": 19,
            "accurate_pass": 16,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 35,
            "possession_lost": 10.2671,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 94,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 25.0,
            "shotConversion": 0.25,
            "minutesPct": 93.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.36,
            "duel_xg_multiplier": 1.0334,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.473,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "David Larrubia",
            "opponent_faced": "David Larrubia",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1376,
            "projected_assists": 0,
            "assist_probability": 0.0993,
            "finishing_factor": 0.9814,
            "creation_factor": 0.9012,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1388,
                "expected_assists": 0.0858,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_type": "played",
              "match_id": "16416345.0",
              "match_date": "2026-09-15 17:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "home_score_current": 2.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": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1573,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0118,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1341,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1023,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 81,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2108,
                "expected_assists": 0.0398,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 2,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3488,
            "combined_rank_score": 1474.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2897.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8283,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tyrhys Dolan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro González Pírez",
                  "ranking": 3483
                },
                {
                  "player_name": "Mahdi Camara",
                  "ranking": 3484
                },
                {
                  "player_name": "Saud Abdulhamid",
                  "ranking": 3485
                },
                {
                  "player_name": "Orel Mangala",
                  "ranking": 3486
                },
                {
                  "player_name": "Lassine Sinayoko",
                  "ranking": 3487
                }
              ],
              "lower": [
                {
                  "player_name": "Yann Gboho",
                  "ranking": 3489
                },
                {
                  "player_name": "Ansu Fati",
                  "ranking": 3490
                },
                {
                  "player_name": "Marcus Edwards",
                  "ranking": 3491
                },
                {
                  "player_name": "Ismaël Doukouré",
                  "ranking": 3492
                },
                {
                  "player_name": "Unai Marrero",
                  "ranking": 3493
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.653,
          "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",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.653,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0095,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 252.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.0,
              "shots_per90": 1.43,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.19, gls/90: 0.3571428571428571, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0948,
                "assist_rate": 0.0852,
                "assists": 0,
                "expected_goals": 0.1379,
                "goal_rate": 0.1217,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.17,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 93,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.9091,
                  "expectedAssists": 0.0919,
                  "creative_index": 0.2106,
                  "creative_efficiency": 0.0405,
                  "shotValueNormalized": -0.0124,
                  "dribbleValueNormalized": 0.2333
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8039523363113403,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1156
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0952
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0245
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.023
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0211
                        }
                      ],
                      "others": 0.0195,
                      "total": 0.804,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.133211
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.124782
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.033674
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.030531
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.027229
                        }
                      ],
                      "others_margin": 0.02449
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09476625919342041,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0072
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0057
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0045
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.003
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0019
                        }
                      ],
                      "others": 0.0003,
                      "total": 0.0948,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.079528
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.058936
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.045877
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.03235
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019914
                        }
                      ],
                      "others_margin": 0.002698
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0852123573422432,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0112
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0052
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0028
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.002
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0852,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.123142
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.055144
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.031536
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.022709
                        },
                        {
                          "name": "touches",
                          "margin": 0.018538
                        }
                      ],
                      "others_margin": -0.076876
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13788364827632904,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0326
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0092
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0049
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0035
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1379,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.196391
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.063328
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.034378
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.023665
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.022979
                        }
                      ],
                      "others_margin": -0.056381
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12168817967176437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0273
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0169
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.007
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0074
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0062
                        }
                      ],
                      "others": 0.0098,
                      "total": 0.1217,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.203985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.150898
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.065581
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.064782
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.053473
                        }
                      ],
                      "others_margin": 0.082867
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.34472090005874634,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0195
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0175
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0115
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0105
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.004,
                      "total": 0.3447,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": 0.056223
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.050154
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.03339
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.030402
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.024054
                        }
                      ],
                      "others_margin": -0.011736
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0160209000587463,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0297
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0279
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0246
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0232
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0454,
                      "total": 1.016,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.029685
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.027912
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.024596
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.023174
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.022676
                        }
                      ],
                      "others_margin": -0.045399
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8283185958862305,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0446
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0373
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0129
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0466,
                      "total": 6.8283,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.04462
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.037315
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.022139
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.01294
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.012635
                        }
                      ],
                      "others_margin": -0.046574
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0095, quality 0.532)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0957,
                "assist_rate": 0.086,
                "assists": 0,
                "expected_goals": 0.1392,
                "goal_rate": 0.1228,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 10800000,
                "quality_factor": 0.5318,
                "boost_factor": 1.0095
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0552)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0957,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.1392,
                "goal_rate": 0.1357,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36
              },
              "params": {
                "blend_weight": 0.0552,
                "history_matches": 6,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0985
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0788
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "totalShots",
                  "before": 1.0257,
                  "after": 1.048
                },
                {
                  "stat": "fouls",
                  "before": 1.5143,
                  "after": 1.5293
                },
                {
                  "stat": "goals",
                  "before": 0.1228,
                  "after": 0.1357
                },
                {
                  "stat": "totalCross",
                  "before": 2.6955,
                  "after": 2.7044
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0957,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.1392,
                "goal_rate": 0.1357,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0957,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.1438,
                "goal_rate": 0.1402,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36,
                "duel_xg_multiplier": 1.0334,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.473,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Larrubia",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.473,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0334,
                  "skill_edge": 0.0308,
                  "height_edge": -0.008,
                  "attacker_skill": 0.5457,
                  "defender_skill": 0.4773,
                  "xg_override": 0.1438
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.048,
                  "after": 1.083
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6777,
                  "after": 0.7003
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3487,
                  "after": 0.3603
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1046,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.148,
                "goal_rate": 0.1402,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36,
                "duel_xg_multiplier": 1.0334,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.473,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9814,
                "creation_factor": 0.9012
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0957,
                  "after": 0.1046
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1046,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.148,
                "goal_rate": 0.1402,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36,
                "duel_xg_multiplier": 1.0334,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.473,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9814,
                "creation_factor": 0.9012,
                "fifa_overall": 74.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": 3488,
                "fifa_rank": 2897.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": {
                "key_pass": 1,
                "expected_assists": 0.1046,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.148,
                "goal_rate": 0.1402,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36,
                "duel_xg_multiplier": 1.0334,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.473,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1376,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9814,
                "creation_factor": 0.9012,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1376,
                "scorer_weight": 0.1452,
                "squad_weight_total": 1.2812,
                "weight_share": 0.1134,
                "finishing_factor": 0.9814,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "expected_assists": 0.1046,
                "assist_rate": 0.0813,
                "assists": 0,
                "expected_goals": 0.148,
                "goal_rate": 0.1402,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8283,
                "minutes": 72,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 10,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 35,
                "possession_lost": 10.2671,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 94,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 93.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.36,
                "duel_xg_multiplier": 1.0334,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.473,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Larrubia",
                "opponent_faced": "David Larrubia",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1376,
                "projected_assists": 0,
                "assist_probability": 0.0993,
                "finishing_factor": 0.9814,
                "creation_factor": 0.9012,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0993,
                "provider_weight": 0.0943,
                "squad_weight_total": 0.7671,
                "weight_share": 0.1229,
                "creation_factor": 0.9012,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Gabriel Moscardo": {
          "player_id": 1485309,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 185,
          "market_value": 7500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.028,
            "assist_rate": 0.0488,
            "assists": 0,
            "expected_goals": 0.0995,
            "goal_rate": 0.0683,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6977,
            "minutes": 43,
            "total_pass": 14,
            "accurate_pass": 11,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 5.7373,
            "dispossessed": 1.4967,
            "duels_lost": 3,
            "aerial_won": 1,
            "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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 16.7,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 1.0971,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.486,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Juan Cruz",
            "opponent_faced": "Juan Cruz",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0947,
            "projected_assists": 0,
            "assist_probability": 0.0276,
            "finishing_factor": 0.8064,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0811,
                "expected_assists": 0.004,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0136,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 5,
                "duels_won": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.006,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4340,
            "combined_rank_score": 2356.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4267.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6977,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Moscardo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                },
                {
                  "player_name": "Jay Idzes",
                  "ranking": 4337
                },
                {
                  "player_name": "Obed Vargas",
                  "ranking": 4338
                },
                {
                  "player_name": "Mateo Joseph",
                  "ranking": 4339
                }
              ],
              "lower": [
                {
                  "player_name": "Akor Jerome Adams",
                  "ranking": 4341
                },
                {
                  "player_name": "Ezequiel Ponce",
                  "ranking": 4342
                },
                {
                  "player_name": "Anass Salah-Eddine",
                  "ranking": 4343
                },
                {
                  "player_name": "Fabio Miretti",
                  "ranking": 4344
                },
                {
                  "player_name": "Tommaso Baldanzi",
                  "ranking": 4345
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.505,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.505,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.0,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0257,
                "assist_rate": 0.0496,
                "assists": 0,
                "expected_goals": 0.0883,
                "goal_rate": 0.0633,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.75,
                "dispossessed": 1.5,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5065,
                  "expectedAssists": 0.0058,
                  "creative_index": 0.0035,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": -0.0104,
                  "dribbleValueNormalized": 0.0324
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4843243360519409,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1734
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1053
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0408
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0307
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0283
                        }
                      ],
                      "others": -0.0639,
                      "total": 0.4843,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.20711
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.150575
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.064964
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.051824
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.050275
                        }
                      ],
                      "others_margin": -0.124105
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02566670998930931,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0409
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0042
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0031
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0023
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0257,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.632205
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.09553
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.077583
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.062105
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.050624
                        }
                      ],
                      "others_margin": -0.30532
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04955623298883438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0133
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0105
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0031
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0025
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0496,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.169436
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.157332
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.052012
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.044684
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.022103
                        }
                      ],
                      "others_margin": -0.095639
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08830476552248001,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0457
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0111
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0073
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0059
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0192,
                      "total": 0.0883,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.287838
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.084253
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.059877
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.051296
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.045884
                        }
                      ],
                      "others_margin": -0.197507
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06328144669532776,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0353
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0231
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0084
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0633,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.272962
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.22997
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.098235
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.073851
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.072014
                        }
                      ],
                      "others_margin": -0.101965
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16387443244457245,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1337
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0153
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0132
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0055
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0007,
                      "total": 0.1639,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.504452
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.077851
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.072437
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.032007
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.030655
                        }
                      ],
                      "others_margin": -0.004856
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5816744324445724,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2862
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0539
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.04
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0296
                        }
                      ],
                      "others": -0.0827,
                      "total": 0.5817,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.28622
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053919
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.03996
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.036033
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029573
                        }
                      ],
                      "others_margin": -0.082764
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6977386474609375,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0562
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0325
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0277
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0245
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0583,
                      "total": 6.6977,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056249
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.032463
                        },
                        {
                          "name": "touches",
                          "margin": -0.027731
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.024498
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011902
                        }
                      ],
                      "others_margin": -0.058168
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.493)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0256,
                "assist_rate": 0.0494,
                "assists": 0,
                "expected_goals": 0.0881,
                "goal_rate": 0.0631,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9978
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0120)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0256,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0881,
                "goal_rate": 0.0623,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -2.0
              },
              "params": {
                "blend_weight": 0.012,
                "history_matches": 4,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1635,
                  "after": 0.1856
                },
                {
                  "stat": "totalShots",
                  "before": 0.5804,
                  "after": 0.5975
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0256,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0881,
                "goal_rate": 0.0623,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 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": {
                "key_pass": 0,
                "expected_assists": 0.0256,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0967,
                "goal_rate": 0.0683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "aerial_won": 1,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.0971,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.486,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Cruz",
                "opponent_faced": "Juan Cruz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Juan Cruz",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.486,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0971,
                  "skill_edge": 0.042,
                  "height_edge": 0.024,
                  "attacker_skill": 0.5308,
                  "defender_skill": 0.4374,
                  "xg_override": 0.0967
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.6025,
                  "after": 0.661
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4169,
                  "after": 0.4574
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1856,
                  "after": 0.2036
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0881,
                  "after": 0.0967
                },
                {
                  "stat": "goals",
                  "before": 0.0623,
                  "after": 0.0683
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.028,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "aerial_won": 1,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.0971,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.486,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Cruz",
                "opponent_faced": "Juan Cruz",
                "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.8064,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.028,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "aerial_won": 1,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.0971,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.486,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Cruz",
                "opponent_faced": "Juan Cruz",
                "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.8064,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4340,
                "fifa_rank": 4267.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.028,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "aerial_won": 1,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.0971,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.486,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Cruz",
                "opponent_faced": "Juan Cruz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0947,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8064,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0947,
                "scorer_weight": 0.0802,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0626,
                "finishing_factor": 0.8064,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "expected_assists": 0.028,
                "assist_rate": 0.0488,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6977,
                "minutes": 43,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 4,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 5.7373,
                "dispossessed": 1.4967,
                "duels_lost": 3,
                "aerial_won": 1,
                "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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 16.7,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.0971,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.486,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Cruz",
                "opponent_faced": "Juan Cruz",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0947,
                "projected_assists": 0,
                "assist_probability": 0.0276,
                "finishing_factor": 0.8064,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0276,
                "provider_weight": 0.035,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0456,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javi Puado": {
          "player_id": 891511,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 178,
          "market_value": 7000000,
          "stats": {
            "key_pass": 2,
            "assist_rate": 0.12,
            "assists": 0,
            "expected_assists": 0.1498,
            "expected_goals": 0.0906,
            "total_shots": 1,
            "total_pass": 51,
            "accurate_pass": 42,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 67,
            "possession_lost": 8.4,
            "dispossessed": 0.8,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "goal_rate": 0.07,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0607,
            "ball_carries": 30,
            "total_progression": 79,
            "progressive_carries": 7,
            "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0866,
            "projected_assists": 0,
            "assist_probability": 0.1391,
            "finishing_factor": 0.8696,
            "creation_factor": 0.9091,
            "fifa_overall": 79.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 2281,
            "combined_rank_score": 901.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 834.0,
            "sofascore_rating": 6.5889,
            "sofascore_appearances": 10.0,
            "fifa_rank": 968.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Puado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                },
                {
                  "player_name": "Nuriddin  Nuriddinov",
                  "ranking": 2277
                },
                {
                  "player_name": "Kim Min-Ho",
                  "ranking": 2278
                },
                {
                  "player_name": "Manuel Ugarte",
                  "ranking": 2279
                },
                {
                  "player_name": "Endrick",
                  "ranking": 2280
                }
              ],
              "lower": [
                {
                  "player_name": "Bekhruz Jumatov",
                  "ranking": 2282
                },
                {
                  "player_name": "Odilon Kossounou",
                  "ranking": 2283
                },
                {
                  "player_name": "Lennart Karl",
                  "ranking": 2284
                },
                {
                  "player_name": "André",
                  "ranking": 2285
                },
                {
                  "player_name": "Tim Payne",
                  "ranking": 2286
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4866,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€7,000,000) applied for position M (quality factor 0.49)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.49)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.137,
                "expected_goals": 0.088,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7000000,
                "quality_factor": 0.4866
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.137,
                "expected_goals": 0.088,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "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": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.137,
                "expected_goals": 0.088,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7,
                "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.1498,
                "expected_goals": 0.0906,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0607,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7,
                "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8696,
                "creation_factor": 0.9091
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.137,
                  "after": 0.1498
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.1498,
                "expected_goals": 0.0906,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0607,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7,
                "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8696,
                "creation_factor": 0.9091,
                "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_filled",
                "ranking_status": "combined",
                "global_player_rank": 2281,
                "fifa_rank": 968.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.1498,
                "expected_goals": 0.0906,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0607,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7,
                "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0866,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8696,
                "creation_factor": 0.9091,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0866,
                "scorer_weight": 0.0788,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0615,
                "finishing_factor": 0.8696,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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": 2,
                "assist_rate": 0.12,
                "assists": 0,
                "expected_assists": 0.1498,
                "expected_goals": 0.0906,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0607,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7,
                "opponent_faced": "Jens-Lys Cajuste, Pablo Martínez, David Larrubia",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0866,
                "projected_assists": 0,
                "assist_probability": 0.1391,
                "finishing_factor": 0.8696,
                "creation_factor": 0.9091,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1391,
                "provider_weight": 0.1362,
                "squad_weight_total": 0.7671,
                "weight_share": 0.1775,
                "creation_factor": 0.9091,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pol Lozano": {
          "player_id": 826010,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 176,
          "market_value": 5800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0361,
            "assist_rate": 0.0687,
            "assists": 0,
            "expected_goals": 0.1047,
            "goal_rate": 0.0626,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7677,
            "minutes": 16,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 1.3188,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 2.5,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 13.0,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 0.984,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.409,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Izan Merino",
            "opponent_faced": "Izan Merino",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0994,
            "projected_assists": 0,
            "assist_probability": 0.0355,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0237,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 18,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0579,
                "expected_assists": 0.0198,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3515,
            "combined_rank_score": 1491.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2405.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7677,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pol Lozano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Filip Ugrinić",
                  "ranking": 3510
                },
                {
                  "player_name": "Robin Zentner",
                  "ranking": 3511
                },
                {
                  "player_name": "Kevin Diks",
                  "ranking": 3512
                },
                {
                  "player_name": "Zuriko Davitashvili",
                  "ranking": 3513
                },
                {
                  "player_name": "Grischa Prömel",
                  "ranking": 3514
                }
              ],
              "lower": [
                {
                  "player_name": "Aurèle Amenda",
                  "ranking": 3516
                },
                {
                  "player_name": "Manu Morlanes",
                  "ranking": 3517
                },
                {
                  "player_name": "Alexis Claude-Maurice",
                  "ranking": 3518
                },
                {
                  "player_name": "Sebastián Cáceres",
                  "ranking": 3519
                },
                {
                  "player_name": "Anthony Caci",
                  "ranking": 3520
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.442,
          "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",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.442,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 35.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.57,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0333,
                "assist_rate": 0.0701,
                "assists": 0,
                "expected_goals": 0.1043,
                "goal_rate": 0.0649,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.33,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2809,
                  "expectedAssists": 0.0156,
                  "creative_index": 0.2772,
                  "creative_efficiency": 0.0148,
                  "shotValueNormalized": -0.014,
                  "dribbleValueNormalized": 0.016
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.614474356174469,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1311
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0944
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0455
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0357
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0361
                        }
                      ],
                      "others": -0.113,
                      "total": 0.6145,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.152576
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.12637
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.067035
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.052951
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.050969
                        }
                      ],
                      "others_margin": -0.16878
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03328808769583702,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.004
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0028
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0027
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0333,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.572556
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.084408
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.063458
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.061833
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.055451
                        }
                      ],
                      "others_margin": -0.249324
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07012319564819336,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0087
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.007
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0052
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0047
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0039
                        }
                      ],
                      "others": -0.0131,
                      "total": 0.0701,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.107751
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.09557
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.072137
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.060552
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.047525
                        }
                      ],
                      "others_margin": -0.170953
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1042722687125206,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0111
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0076
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0055
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0355,
                      "total": 0.1043,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.213672
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.078261
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.056948
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.042074
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.040214
                        }
                      ],
                      "others_margin": -0.293848
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06486182659864426,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0235
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0037
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.0649,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.22591
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222188
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.084786
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.043032
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.040614
                        }
                      ],
                      "others_margin": -0.207799
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.15086433291435242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1152
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0225
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0089
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0078
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.1509,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.417526
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.10651
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.045723
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.041902
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.035019
                        }
                      ],
                      "others_margin": -0.158298
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6043643329143524,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2738
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0434
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0347
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0341
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0238
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.6043,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.273784
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.04337
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.034748
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.034143
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.023813
                        }
                      ],
                      "others_margin": -0.071508
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.767747402191162,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0371
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.03
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0283
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0251
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0688,
                      "total": 6.7677,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.037145
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.029992
                        },
                        {
                          "name": "touches",
                          "margin": -0.028284
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.025144
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.013025
                        }
                      ],
                      "others_margin": -0.06869
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.472)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.033,
                "assist_rate": 0.0695,
                "assists": 0,
                "expected_goals": 0.1034,
                "goal_rate": 0.0643,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0108)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.033,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1034,
                "goal_rate": 0.0636,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 3,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalShots",
                  "before": 0.5993,
                  "after": 0.6207
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.033,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1034,
                "goal_rate": 0.0636,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 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": {
                "key_pass": 1,
                "expected_assists": 0.033,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1017,
                "goal_rate": 0.0626,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.984,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.409,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Izan Merino",
                "opponent_faced": "Izan Merino",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Izan Merino",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.409,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.984,
                  "skill_edge": 0.0291,
                  "height_edge": -0.04,
                  "attacker_skill": 0.5021,
                  "defender_skill": 0.4374,
                  "xg_override": 0.1017
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.6207,
                  "after": 0.6108
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4497,
                  "after": 0.4425
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0361,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1047,
                "goal_rate": 0.0626,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.984,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.409,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Izan Merino",
                "opponent_faced": "Izan Merino",
                "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.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0361,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1047,
                "goal_rate": 0.0626,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.984,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.409,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Izan Merino",
                "opponent_faced": "Izan Merino",
                "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.8,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3515,
                "fifa_rank": 2405.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0361,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1047,
                "goal_rate": 0.0626,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.984,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.409,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Izan Merino",
                "opponent_faced": "Izan Merino",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0994,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0994,
                "scorer_weight": 0.0838,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0654,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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,
                "expected_assists": 0.0361,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.1047,
                "goal_rate": 0.0626,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7677,
                "minutes": 16,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 1.3188,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 2.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.0,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 0.984,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.409,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Izan Merino",
                "opponent_faced": "Izan Merino",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0994,
                "projected_assists": 0,
                "assist_probability": 0.0355,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0355,
                "provider_weight": 0.0451,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0588,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Roberto Fernández": {
          "player_id": 1392592,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 10300000,
          "stats": {
            "expected_goals": 0.4885,
            "goal_rate": 0.5837,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0464,
            "key_pass": 1,
            "rating": 6.8729,
            "minutes": 88,
            "total_pass": 11,
            "accurate_pass": 7,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 22,
            "possession_lost": 7.1956,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.5,
            "minutesPct": 97.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.34,
            "duel_xg_multiplier": 1.0696,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.247,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Adam Aznou, Fernando Calero",
            "opponent_faced": "Adam Aznou, Fernando Calero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3865,
            "projected_assists": 0,
            "assist_probability": 0.0453,
            "finishing_factor": 1.208,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1692,
                "expected_assists": 0.0031,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 4,
                "accurate_pass": 4,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2843,
                "expected_assists": 0.0447,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3134,
                "expected_assists": 0.1532,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 4,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.259,
                "expected_assists": 0.0027,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2734,
                "expected_assists": 0.0482,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.62,
                "expected_assists": 0.0121,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4597,
                "expected_assists": 0.0976,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 7,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3459,
            "combined_rank_score": 1454.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 6.0,
            "sofascore_rating": 8.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2903.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8729,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roberto Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marco Sportiello",
                  "ranking": 3454
                },
                {
                  "player_name": "Arsène Kouassi",
                  "ranking": 3455
                },
                {
                  "player_name": "Leif Davis",
                  "ranking": 3456
                },
                {
                  "player_name": "Ismaëlo Ganiou",
                  "ranking": 3457
                },
                {
                  "player_name": "Olivier Giroud",
                  "ranking": 3458
                }
              ],
              "lower": [
                {
                  "player_name": "Eric Dier",
                  "ranking": 3460
                },
                {
                  "player_name": "Benjamin Nygren",
                  "ranking": 3461
                },
                {
                  "player_name": "Arnau Tenas",
                  "ranking": 3462
                },
                {
                  "player_name": "Yvon Mvogo",
                  "ranking": 3463
                },
                {
                  "player_name": "Duje Ćaleta-Car",
                  "ranking": 3464
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.716,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.716,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0078,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 262.0,
              "goals_per90": 1.0344827586206895,
              "assists_per90": 0.0,
              "shots_per90": 2.06,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.19, gls/90: 1.0344827586206895, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4403,
                "goal_rate": 0.5146,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0421,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 7.14,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 8.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.7885,
                  "totalShots": 2.3564,
                  "minutesPlayed": 87.5982,
                  "shotValueNormalized": 0.1425,
                  "accuratePass": 7.0036,
                  "expectedAssists": 0.0487
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.4403012990951538,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0337
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0268
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0274
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0174
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0153
                        }
                      ],
                      "others": -0.0429,
                      "total": 0.4403,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.088874
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.065479
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.06272
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037833
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03225
                        }
                      ],
                      "others_margin": -0.092988
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.5146408677101135,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0664
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0409
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.039
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0282
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0167
                        }
                      ],
                      "others": 0.1148,
                      "total": 0.5146,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.208394
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.109509
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.104242
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.076434
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.042659
                        }
                      ],
                      "others_margin": 0.252554
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7570508122444153,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1013
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0678
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0626
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0497
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0397
                        }
                      ],
                      "others": 0.0498,
                      "total": 0.7571,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.188732
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.130132
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.106755
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.077438
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.057823
                        }
                      ],
                      "others_margin": 0.067919
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.0868828296661377,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3297
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2522
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.083
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0544
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0513
                        }
                      ],
                      "others": 0.0925,
                      "total": 2.0869,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.3297
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.252198
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.083006
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.054373
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.051316
                        }
                      ],
                      "others_margin": 0.092474
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04209276661276817,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "aerialLost",
                          "contribution": -0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0044
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0039
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0421,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "aerialLost",
                          "margin": -0.101088
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.078139
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.068496
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.050189
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.031387
                        }
                      ],
                      "others_margin": -0.182235
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5284097790718079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2032
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0242
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0179
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0175
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0144
                        }
                      ],
                      "others": 0.0082,
                      "total": 0.5284,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.356027
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.049755
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.035306
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.033337
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.027275
                        }
                      ],
                      "others_margin": 0.015305
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.872910022735596,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0479
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0417
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0297
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0277
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0223
                        }
                      ],
                      "others": -0.0156,
                      "total": 6.8729,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.047886
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041657
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.029691
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.027666
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.022283
                        }
                      ],
                      "others_margin": -0.015464
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0078, quality 0.526)",
              "stats": {
                "expected_goals": 0.4437,
                "goal_rate": 0.5187,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0424,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 10300000,
                "quality_factor": 0.526,
                "boost_factor": 1.0078
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0524)",
              "stats": {
                "expected_goals": 0.4437,
                "goal_rate": 0.5457,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0424,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34
              },
              "params": {
                "blend_weight": 0.0524,
                "history_matches": 7,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "goals",
                  "before": 0.5187,
                  "after": 0.5457
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.763,
                  "after": 0.777
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4437,
                "goal_rate": 0.5457,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0424,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34
              },
              "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.4746,
                "goal_rate": 0.5837,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0424,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34,
                "duel_xg_multiplier": 1.0696,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.247,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adam Aznou, Fernando Calero",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.247,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0696,
                  "skill_edge": 0.0253,
                  "height_edge": 0.022,
                  "attacker_skill": 0.526,
                  "defender_skill": 0.4697,
                  "xg_override": 0.4746
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1172,
                  "after": 2.2646
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3402,
                  "after": 1.4335
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.777,
                  "after": 0.8311
                },
                {
                  "stat": "goals",
                  "before": 0.5457,
                  "after": 0.5837
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4437,
                  "after": 0.4746
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.4885,
                "goal_rate": 0.5837,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0464,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34,
                "duel_xg_multiplier": 1.0696,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.247,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.208,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4746,
                  "after": 0.4885
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.4885,
                "goal_rate": 0.5837,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0464,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34,
                "duel_xg_multiplier": 1.0696,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.247,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.208,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3459,
                "fifa_rank": 2903.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.4885,
                "goal_rate": 0.5837,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0464,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34,
                "duel_xg_multiplier": 1.0696,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.247,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3865,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.208,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.3865,
                "scorer_weight": 0.5901,
                "squad_weight_total": 1.2812,
                "weight_share": 0.4606,
                "finishing_factor": 1.208,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.4885,
                "goal_rate": 0.5837,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0464,
                "key_pass": 1,
                "rating": 6.8729,
                "minutes": 88,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 7.1956,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 97.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.34,
                "duel_xg_multiplier": 1.0696,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.247,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3865,
                "projected_assists": 0,
                "assist_probability": 0.0453,
                "finishing_factor": 1.208,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0453,
                "provider_weight": 0.0371,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0484,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Bryan Zaragoza": {
          "player_id": 1084730,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 28,
          "height": 165,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.1397,
            "goal_rate": 0.1406,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0985,
            "key_pass": 1,
            "rating": 6.7851,
            "minutes": 34,
            "total_pass": 15,
            "accurate_pass": 10,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 10.2274,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 101,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.927,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Adam Aznou, Fernando Calero",
            "opponent_faced": "Adam Aznou, Fernando Calero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1304,
            "projected_assists": 0,
            "assist_probability": 0.0938,
            "finishing_factor": 1.0264,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0526,
                "expected_assists": 0.2013,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 29,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0702,
                "expected_assists": 0.1012,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "key_pass": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3444,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3033,
            "combined_rank_score": 1005.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 497.0,
            "sofascore_rating": 6.8611,
            "sofascore_appearances": 19.0,
            "fifa_rank": 1513.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7851,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bryan Zaragoza",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                },
                {
                  "player_name": "Jens Petter Hauge",
                  "ranking": 3030
                },
                {
                  "player_name": "James Justin",
                  "ranking": 3031
                },
                {
                  "player_name": "Jens Hofer",
                  "ranking": 3032
                }
              ],
              "lower": [
                {
                  "player_name": "Wout Weghorst",
                  "ranking": 3034
                },
                {
                  "player_name": "Jake Azzopardi",
                  "ranking": 3035
                },
                {
                  "player_name": "Ki Hyun Lee",
                  "ranking": 3036
                },
                {
                  "player_name": "Jaume Cuéllar",
                  "ranking": 3037
                },
                {
                  "player_name": "Daniel Cordero",
                  "ranking": 3038
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 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.1467,
                "goal_rate": 0.1521,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0903,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.25,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 10.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.8944,
                  "totalShots": 1.1611,
                  "minutesPlayed": 38.1868,
                  "shotValueNormalized": -0.099,
                  "accuratePass": 11.4407,
                  "expectedAssists": 0.1565
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1466894894838333,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.1016
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0343
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.017
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0114
                        }
                      ],
                      "others": -0.032,
                      "total": 0.1467,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.328911
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.140961
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.090324
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.085414
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.062045
                        }
                      ],
                      "others_margin": -0.197318
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15207813680171967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0488
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0261
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0232
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0103
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0061
                        }
                      ],
                      "others": -0.02,
                      "total": 0.1521,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.186776
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.116065
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.11606
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056073
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.034905
                        }
                      ],
                      "others_margin": -0.123887
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4270828366279602,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1385
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0771
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0644
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0235
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0158
                        }
                      ],
                      "others": 0.0034,
                      "total": 0.4271,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.268134
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.158124
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.130218
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.052192
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.036529
                        }
                      ],
                      "others_margin": 0.007832
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2612828366279603,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1045
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.088
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0644
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0547
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0516
                        }
                      ],
                      "others": 0.086,
                      "total": 1.2612,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.10453
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.08803
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.064352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.054727
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.05159
                        }
                      ],
                      "others_margin": 0.086102
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09025788307189941,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0335
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0056
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0042
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0029
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.0903,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.44297
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.061444
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.049415
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.042587
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.035866
                        }
                      ],
                      "others_margin": 0.08215
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6735121011734009,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2191
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.095
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0422
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0297
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0193
                        }
                      ],
                      "others": 0.0668,
                      "total": 0.6735,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.390153
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.188003
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.073346
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.048653
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.031397
                        }
                      ],
                      "others_margin": 0.104581
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.785056114196777,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0398
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0386
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0215
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0215
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0141,
                      "total": 6.7851,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.039767
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038604
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.021504
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021458
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.014617
                        }
                      ],
                      "others_margin": -0.014172
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.493)",
              "stats": {
                "expected_goals": 0.1464,
                "goal_rate": 0.1517,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0901,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9978
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1464,
                "goal_rate": 0.1517,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0901,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1
              },
              "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.1357,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0901,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.927,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adam Aznou, Fernando Calero",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.927,
                  "skill_edge": 0.0104,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4927,
                  "defender_skill": 0.4697,
                  "xg_override": 0.1357
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2585,
                  "after": 1.1666
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8324,
                  "after": 0.7716
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4261,
                  "after": 0.395
                },
                {
                  "stat": "goals",
                  "before": 0.1517,
                  "after": 0.1406
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1464,
                  "after": 0.1357
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1397,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0985,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.927,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0264,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0901,
                  "after": 0.0985
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1397,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0985,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.927,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0264,
                "creation_factor": 0.8,
                "fifa_overall": 77.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": 3033,
                "fifa_rank": 1513.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1397,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0985,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.927,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1304,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0264,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1304,
                "scorer_weight": 0.1434,
                "squad_weight_total": 1.2812,
                "weight_share": 0.1119,
                "finishing_factor": 1.0264,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.1397,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0985,
                "key_pass": 1,
                "rating": 6.7851,
                "minutes": 34,
                "total_pass": 15,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.2274,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 14,
                "total_progression": 101,
                "progressive_carries": 4,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.927,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Adam Aznou, Fernando Calero",
                "opponent_faced": "Adam Aznou, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1304,
                "projected_assists": 0,
                "assist_probability": 0.0938,
                "finishing_factor": 1.0264,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0938,
                "provider_weight": 0.0788,
                "squad_weight_total": 0.7671,
                "weight_share": 0.1027,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Angel Fortuno": {
          "player_id": 1082734,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 183,
          "market_value": 290000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "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": 89.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 24,
            "combined_rank_score": 25.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 35.0,
            "sofascore_rating": 7.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Fortuno",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                },
                {
                  "player_name": "Alejandro Grimaldo",
                  "ranking": 20
                },
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                }
              ],
              "lower": [
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                },
                {
                  "player_name": "Joshua Kimmich",
                  "ranking": 26
                },
                {
                  "player_name": "Ljupche Doriev",
                  "ranking": 27
                },
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€290,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 0,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 290000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 89.0; not used by the projection)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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": 89.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 24,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            }
          ]
        },
        "Clemens Riedel": {
          "player_id": 1129360,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 186,
          "market_value": 3900000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7615,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "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": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.0427,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0015,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 9,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.5882,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 57.4,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 1.74,
            "bench_appearance_probability": 0.218,
            "bench_expected_minutes": 13.62,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "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": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0205,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 45,
                "accurate_pass": 39,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 35,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5074,
            "combined_rank_score": 3259.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 591.0,
            "sofascore_rating": 6.79,
            "sofascore_appearances": 20.0,
            "fifa_rank": 5928.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7615,
            "source_file": "data/player_rankings.csv",
            "player_name": "Clemens Riedel",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luis Sandoval",
                  "ranking": 5069
                },
                {
                  "player_name": "Guido Mainero",
                  "ranking": 5070
                },
                {
                  "player_name": "Montrell Culbreath",
                  "ranking": 5071
                },
                {
                  "player_name": "Juma Bah",
                  "ranking": 5072
                },
                {
                  "player_name": "Hiroki Sakai",
                  "ranking": 5073
                }
              ],
              "lower": [
                {
                  "player_name": "Martín Sarrafiore",
                  "ranking": 5075
                },
                {
                  "player_name": "Juan Manuel Cuesta",
                  "ranking": 5076
                },
                {
                  "player_name": "Sebastián Guzmán",
                  "ranking": 5077
                },
                {
                  "player_name": "Anthony Patterson",
                  "ranking": 5078
                },
                {
                  "player_name": "Miguel Rubio",
                  "ranking": 5079
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.642,
          "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",
              "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.642,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.61644058998921,
            "bench_appearance_prob": 0.218,
            "market_value_adjustment": 0.9846,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (6 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 62,
                "total_pass": 39,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 7.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 61,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.9743,
                  "defensive_actions": 1.1694,
                  "wonTackle": 0.4066,
                  "totalTackle_p90": 0.6263,
                  "totalClearance_p90": 4.8587,
                  "aerialWon": 1.6546
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6544675230979919,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2286
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.06
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0439
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0121
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0031,
                      "total": 0.6545,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.291705
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.093094
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.069015
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.01851
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.016903
                        }
                      ],
                      "others_margin": -0.004911
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1296836137771606,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0867
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0587
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0352
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0266
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0118
                        }
                      ],
                      "others": 0.0174,
                      "total": 1.1297,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": -0.067376
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.048292
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.030171
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.023367
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010592
                        }
                      ],
                      "others_margin": 0.01557
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6920191645622253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1372
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0288
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0268
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0147
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0141
                        }
                      ],
                      "others": 0.005,
                      "total": 0.692,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.181798
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.042685
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.039753
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.021171
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.020285
                        }
                      ],
                      "others_margin": 0.007314
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.2844464778900146,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.1102
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1745
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0895
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0526
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0524
                        }
                      ],
                      "others": -0.0778,
                      "total": 2.2844,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.397095
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.073828
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037187
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.022505
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.022422
                        }
                      ],
                      "others_margin": -0.033462
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8349357843399048,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4306
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0496
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0451
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0293
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0252
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.8349,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.414217
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.057391
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.052092
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.03535
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030467
                        }
                      ],
                      "others_margin": -0.005318
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0535
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0332
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0179
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0132
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0439,
                      "total": 0.3952,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053508
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.033202
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.017937
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.013172
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.011863
                        }
                      ],
                      "others_margin": -0.043911
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.761500835418701,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0145
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0128
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.007,
                      "total": 6.7615,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "duel_win_rate",
                          "margin": -0.015726
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014486
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.012784
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.012774
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.011886
                        }
                      ],
                      "others_margin": -0.006922
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9846, quality 0.449)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 62,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 6.8921,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 60,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9846
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0335)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 62,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 6.8921,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 60,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 57.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 1.74
              },
              "params": {
                "blend_weight": 0.0335,
                "history_matches": 6,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1181
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6444,
                  "after": 0.6228
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0194
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6813,
                  "after": 0.6979
                },
                {
                  "stat": "totalShots",
                  "before": 0.3891,
                  "after": 0.3955
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.0427,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 57.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 1.74,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "expected_minutes": 13.62,
                "appearance_probability": 0.218
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.0427,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 57.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 1.74,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7615,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.0427,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 57.4,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 1.74,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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": 70.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5074,
                "fifa_rank": 5928.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Unai Núñez": {
          "player_id": 892521,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 186,
          "market_value": 3300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8326,
            "minutes": 14,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 1.2457,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "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.0133,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 15,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.33,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.59,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0537,
                "expected_assists": 0.0331,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 61,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 5,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_type": "played",
              "match_id": "16416327.0",
              "match_date": "2026-09-12 14:15:00 UTC",
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "home_score_current": 0.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": "100.0",
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": "True",
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.0192,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 63,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3866,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 65,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3298,
            "combined_rank_score": 1247.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2403.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8326,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Núñez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nobel Mendy",
                  "ranking": 3293
                },
                {
                  "player_name": "Michael Zetterer",
                  "ranking": 3294
                },
                {
                  "player_name": "Lukas Nmecha",
                  "ranking": 3295
                },
                {
                  "player_name": "Ruslan Malinovskyi",
                  "ranking": 3296
                },
                {
                  "player_name": "Ibrahim Mbaye",
                  "ranking": 3297
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Muniz",
                  "ranking": 3299
                },
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                },
                {
                  "player_name": "Abel Bretones",
                  "ranking": 3302
                },
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.593,
          "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",
              "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.593,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.586980405874904,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9823,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (5 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 85,
                "total_pass": 58,
                "accurate_pass": 50,
                "duels_won": 4,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 8.4,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "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.09,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 104,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.9911,
                  "defensive_actions": 3.2523,
                  "wonTackle": 1.104,
                  "totalTackle_p90": 1.8028,
                  "totalClearance_p90": 5.3221,
                  "aerialWon": 2.2193
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7579955458641052,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2839
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0391
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0405
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0156
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0143
                        }
                      ],
                      "others": 0.0576,
                      "total": 0.758,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377243
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.061252
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.059723
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.022011
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.02024
                        }
                      ],
                      "others_margin": 0.07905
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5507639646530151,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1457
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1338
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0367
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0296
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0159
                        }
                      ],
                      "others": -0.0096,
                      "total": 1.5508,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": 0.103852
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.086708
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.023036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.018995
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.010232
                        }
                      ],
                      "others_margin": -0.006179
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8170308470726013,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.0494
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0423
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0231
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0145
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.013
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.817,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.061716
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.053048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028668
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.018098
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.015917
                        }
                      ],
                      "others_margin": -0.007147
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.988773822784424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.9588
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2315
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0916
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0935
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0708
                        }
                      ],
                      "others": 0.0726,
                      "total": 2.9888,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.332727
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.091034
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.033847
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033422
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.02459
                        }
                      ],
                      "others_margin": 0.024575
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8833453059196472,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5228
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0936
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0603
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0337
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0304
                        }
                      ],
                      "others": -0.0207,
                      "total": 0.8833,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.53065
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.118104
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.069272
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.036731
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.033124
                        }
                      ],
                      "others_margin": -0.02309
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.44312646985054016,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0436
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.026
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0228
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0162
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.0308,
                      "total": 0.4431,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.043585
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.025963
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.022849
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.016174
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.01255
                        }
                      ],
                      "others_margin": 0.030755
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.832639217376709,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.032
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0194
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0164
                        },
                        {
                          "name": "error_severity",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0132
                        }
                      ],
                      "others": 0.007,
                      "total": 6.8326,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.031966
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.019384
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.016366
                        },
                        {
                          "name": "error_severity",
                          "margin": -0.013231
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.01322
                        }
                      ],
                      "others_margin": 0.007145
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9823, quality 0.441)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 85,
                "total_pass": 57,
                "accurate_pass": 49,
                "duels_won": 4,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 34,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 8.2517,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "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.0884,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 102,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.9823
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0650)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 85,
                "total_pass": 57,
                "accurate_pass": 49,
                "duels_won": 4,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 34,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 8.2517,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "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.0884,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 102,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33
              },
              "params": {
                "blend_weight": 0.065,
                "history_matches": 5,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.065
                },
                {
                  "stat": "totalShots",
                  "before": 0.4353,
                  "after": 0.407
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8026,
                  "after": 0.7938
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7446,
                  "after": 0.7395
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.2457,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.0133,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "params": {
                "expected_minutes": 13.59,
                "appearance_probability": 0.217
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.2457,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.0133,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8326,
                "minutes": 14,
                "total_pass": 9,
                "accurate_pass": 7,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.2457,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "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.0133,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 15,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.33,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3298,
                "fifa_rank": 2403.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Edu Expósito": {
          "player_id": 877262,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 175,
          "market_value": 4500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0466,
            "assist_rate": 0.0205,
            "assists": 0,
            "expected_goals": 0.0395,
            "goal_rate": 0.0346,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 7.1359,
            "minutes": 22,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.0046,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 19,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.3704,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 11.1,
            "shotConversion": 0.0,
            "minutesPct": 89.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.75,
            "bench_appearance_probability": 0.308,
            "bench_expected_minutes": 22.05,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "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": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1449,
                "expected_assists": 0.3741,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 81,
                "accurate_pass": 72,
                "key_pass": 6,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3802,
                "expected_assists": 0.2161,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 26,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.1488,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.141,
                "expected_assists": 0.6745,
                "total_shots": 1,
                "total_pass": 49,
                "accurate_pass": 39,
                "key_pass": 6,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1531,
                "expected_assists": 0.036,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 39,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 88,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0563,
                "expected_assists": 0.0376,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1101,
                "expected_assists": 0.0395,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2628,
            "combined_rank_score": 921.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 289.0,
            "sofascore_rating": 7.0556,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1553.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1359,
            "source_file": "data/player_rankings.csv",
            "player_name": "Edu Expósito",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francisco Jose Pozzo",
                  "ranking": 2623
                },
                {
                  "player_name": "Augustine Chidi Kwem",
                  "ranking": 2624
                },
                {
                  "player_name": "Otabek Ahadov",
                  "ranking": 2625
                },
                {
                  "player_name": "Rodrigo Sandoval",
                  "ranking": 2626
                },
                {
                  "player_name": "Ruben Loftus-Cheek",
                  "ranking": 2627
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Boyé",
                  "ranking": 2629
                },
                {
                  "player_name": "Duván Zapata",
                  "ranking": 2630
                },
                {
                  "player_name": "Tosin Adarabioyo",
                  "ranking": 2631
                },
                {
                  "player_name": "Selton Sanchez",
                  "ranking": 2632
                },
                {
                  "player_name": "Jung-Min Kim",
                  "ranking": 2633
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.715,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.715,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.045815006556694,
            "bench_appearance_prob": 0.308,
            "market_value_adjustment": 0.9868,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.31); 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": 2,
                "expected_assists": 0.1929,
                "assist_rate": 0.0893,
                "assists": 0,
                "expected_goals": 0.1635,
                "goal_rate": 0.1503,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1359,
                "minutes": 80,
                "total_pass": 47,
                "accurate_pass": 41,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 67,
                "possession_lost": 12.43,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 79,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 2.189,
                  "expectedAssists": 0.2495,
                  "creative_index": 1.2522,
                  "creative_efficiency": 0.0763,
                  "shotValueNormalized": -0.1443,
                  "dribbleValueNormalized": 0.2431
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.7624212503433228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.226
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.2358
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1258
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.062
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0433
                        }
                      ],
                      "others": 0.1428,
                      "total": 1.7624,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.218276
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.186148
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.086748
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.040111
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.027104
                        }
                      ],
                      "others_margin": 0.084449
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1929110735654831,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0508
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0093
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0071
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0067
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.027,
                      "total": 0.1929,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.458727
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.065135
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.046844
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.042582
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.029259
                        }
                      ],
                      "others_margin": 0.151119
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08925817161798477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.006
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0051
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0038
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0024
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0893,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.068614
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.054877
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03882
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.023981
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.023929
                        }
                      ],
                      "others_margin": -0.115042
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1634519249200821,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0177
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0115
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0107
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0101
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.0194,
                      "total": 0.1635,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.092588
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.058947
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.058403
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.055016
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.028587
                        }
                      ],
                      "others_margin": -0.112594
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1503131240606308,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0546
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0305
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0116
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0086
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0081
                        }
                      ],
                      "others": 0.0066,
                      "total": 0.1503,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.314073
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.163488
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.069996
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.054986
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.054573
                        }
                      ],
                      "others_margin": 0.045101
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4451925754547119,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1643
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0363
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0305
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0182
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0166
                        }
                      ],
                      "others": -0.0245,
                      "total": 0.4452,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.396667
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.075163
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.067762
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.041006
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.036057
                        }
                      ],
                      "others_margin": -0.053659
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.463392575454712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3556
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0576
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0453
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0406
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0269
                        }
                      ],
                      "others": 0.0683,
                      "total": 1.4634,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.355584
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.057587
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045275
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040597
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.026915
                        }
                      ],
                      "others_margin": 0.068334
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.135911464691162,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1508
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0452
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0263
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0119
                        }
                      ],
                      "others": 0.0887,
                      "total": 7.1359,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.150806
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.045202
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026297
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.023028
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.011886
                        }
                      ],
                      "others_margin": 0.088762
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9868, quality 0.456)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1904,
                "assist_rate": 0.0881,
                "assists": 0,
                "expected_goals": 0.1613,
                "goal_rate": 0.1483,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1359,
                "minutes": 80,
                "total_pass": 47,
                "accurate_pass": 41,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 12.266,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9868
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0488)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1904,
                "assist_rate": 0.0838,
                "assists": 0,
                "expected_goals": 0.1613,
                "goal_rate": 0.1411,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.1359,
                "minutes": 80,
                "total_pass": 47,
                "accurate_pass": 41,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 25,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 12.266,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 11.1,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.75
              },
              "params": {
                "blend_weight": 0.0488,
                "history_matches": 7,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4441,
                  "after": 1.5375
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "goals",
                  "before": 0.1483,
                  "after": 0.1411
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0466,
                "assist_rate": 0.0205,
                "assists": 0,
                "expected_goals": 0.0395,
                "goal_rate": 0.0346,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 7.1359,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.0046,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 11.1,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.05
              },
              "params": {
                "expected_minutes": 22.05,
                "appearance_probability": 0.308
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0466,
                "assist_rate": 0.0205,
                "assists": 0,
                "expected_goals": 0.0395,
                "goal_rate": 0.0346,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 7.1359,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.0046,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 11.1,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.05
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0466,
                "assist_rate": 0.0205,
                "assists": 0,
                "expected_goals": 0.0395,
                "goal_rate": 0.0346,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 7.1359,
                "minutes": 22,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.0046,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 11.1,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.05,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2628,
                "fifa_rank": 1553.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Álex Calatrava": {
          "player_id": 1136863,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 175,
          "market_value": 3900000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0129,
            "assist_rate": 0.0212,
            "assists": 0,
            "expected_goals": 0.0373,
            "goal_rate": 0.0385,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7091,
            "minutes": 22,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 2.3748,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.8,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 66.7,
            "shotConversion": 0.17,
            "minutesPct": 83.7,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.4,
            "bench_appearance_probability": 0.308,
            "bench_expected_minutes": 22.02,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "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": 87.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 61,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0944,
                "expected_assists": 0.0996,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 16,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1652,
                "expected_assists": 0.0327,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0747,
                "expected_assists": 0.0638,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 22,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306.0,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3589,
                "expected_assists": 0.0187,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 15,
                "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.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1716,
                "expected_assists": 0.0932,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 286,
            "combined_rank_score": 131.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 199.0,
            "sofascore_rating": 7.2,
            "sofascore_appearances": 1.0,
            "fifa_rank": 63.0,
            "fifa_overall": 87.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7091,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álex Calatrava",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Islom Anvarov",
                  "ranking": 281
                },
                {
                  "player_name": "Jasurbek Ubaydullaev",
                  "ranking": 282
                },
                {
                  "player_name": "Dilan Varas",
                  "ranking": 283
                },
                {
                  "player_name": "Shon Goldberg",
                  "ranking": 284
                },
                {
                  "player_name": "Tomas Švedkauskas",
                  "ranking": 285
                }
              ],
              "lower": [
                {
                  "player_name": "Josue Caicedo",
                  "ranking": 287
                },
                {
                  "player_name": "Jamalidin Hodjaniyazov",
                  "ranking": 288
                },
                {
                  "player_name": "Marko Stanojević",
                  "ranking": 289
                },
                {
                  "player_name": "Mihail Stefan",
                  "ranking": 290
                },
                {
                  "player_name": "Nicolò Barella",
                  "ranking": 291
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.713,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.713,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.016440589989212,
            "bench_appearance_prob": 0.308,
            "market_value_adjustment": 0.9846,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.4,
              "assists_per90": 0.0,
              "prior_reliability": 0.1667
            },
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.31); 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": 1,
                "expected_assists": 0.0537,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.1546,
                "goal_rate": 0.1481,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7091,
                "minutes": 55,
                "total_pass": 18,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 9.86,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 32,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 16.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.5264,
                  "expectedAssists": 0.0439,
                  "creative_index": 0.1872,
                  "creative_efficiency": 0.0316,
                  "shotValueNormalized": -0.0844,
                  "dribbleValueNormalized": 0.1187
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7574196457862854,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1109
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0929
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0381
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0282
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0241
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.7574,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.127456
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.120836
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.051382
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.036361
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.031002
                        }
                      ],
                      "others_margin": -0.010138
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05367228388786316,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0171
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0036
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0035,
                      "total": 0.0537,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.218807
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.056199
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.055427
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.051292
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.041451
                        }
                      ],
                      "others_margin": -0.062491
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09216214716434479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0145
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0065
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0021
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0017
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.0922,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.156921
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.067133
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.022575
                        },
                        {
                          "name": "touches",
                          "margin": 0.018744
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": 0.01782
                        }
                      ],
                      "others_margin": -0.02454
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15463484823703766,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0154
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0131
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0096
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0093
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0227,
                      "total": 0.1546,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.080935
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.068439
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.053071
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.051812
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.040425
                        }
                      ],
                      "others_margin": -0.137191
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14809133112430573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0492
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0325
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0138
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0107
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.1481,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.287047
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.179963
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.087579
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.068557
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.054088
                        }
                      ],
                      "others_margin": -0.032734
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.32678118348121643,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0369
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0201
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0114
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0001,
                      "total": 0.3268,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.103793
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.055079
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.032699
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.026649
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.020887
                        }
                      ],
                      "others_margin": -0.000547
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4200053215026855,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3362
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.054
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0474
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0351
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.031
                        }
                      ],
                      "others": 0.0564,
                      "total": 1.42,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.336185
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.05398
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.047365
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.035106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.031019
                        }
                      ],
                      "others_margin": 0.056454
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.709068775177002,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0567
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0266
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0189
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0143
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0605,
                      "total": 6.7091,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056722
                        },
                        {
                          "name": "touches",
                          "margin": -0.026593
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.018923
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.014262
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.011494
                        }
                      ],
                      "others_margin": -0.060537
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9846, quality 0.449)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0528,
                "assist_rate": 0.0907,
                "assists": 0,
                "expected_goals": 0.1523,
                "goal_rate": 0.1458,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7091,
                "minutes": 55,
                "total_pass": 18,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 9.7079,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 31,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9846
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0451)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0528,
                "assist_rate": 0.0866,
                "assists": 0,
                "expected_goals": 0.1523,
                "goal_rate": 0.1573,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7091,
                "minutes": 55,
                "total_pass": 18,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 9.7079,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 31,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.8,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.17,
                "minutesPct": 83.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.4
              },
              "params": {
                "blend_weight": 0.0451,
                "history_matches": 7,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1084
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3217,
                  "after": 0.379
                },
                {
                  "stat": "totalShots",
                  "before": 1.3981,
                  "after": 1.4429
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "goals",
                  "before": 0.1458,
                  "after": 0.1573
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0129,
                "assist_rate": 0.0212,
                "assists": 0,
                "expected_goals": 0.0373,
                "goal_rate": 0.0385,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7091,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.3748,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.8,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.17,
                "minutesPct": 83.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.4,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.02
              },
              "params": {
                "expected_minutes": 22.02,
                "appearance_probability": 0.308
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0129,
                "assist_rate": 0.0212,
                "assists": 0,
                "expected_goals": 0.0373,
                "goal_rate": 0.0385,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7091,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.3748,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.8,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.17,
                "minutesPct": 83.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.4,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.02
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 87.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0129,
                "assist_rate": 0.0212,
                "assists": 0,
                "expected_goals": 0.0373,
                "goal_rate": 0.0385,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7091,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.3748,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.8,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 66.7,
                "shotConversion": 0.17,
                "minutesPct": 83.7,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.4,
                "bench_appearance_probability": 0.308,
                "bench_expected_minutes": 22.02,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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": 87.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 286,
                "fifa_rank": 63.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 87.0
              }
            }
          ]
        },
        "Marcos Fernández": {
          "player_id": 1183542,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 176,
          "market_value": 1500000,
          "stats": {
            "expected_goals": 0.0476,
            "goal_rate": 0.0335,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0137,
            "key_pass": 0,
            "rating": 6.7684,
            "minutes": 19,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0341,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 3.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 9.6,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 18.53,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0334,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 0.868,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1441,
                "expected_assists": 0.2761,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2692,
                "expected_assists": 0.1481,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.053,
                "expected_assists": 0.4026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5788,
                "expected_assists": 0.0002,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0962,
                "expected_assists": 0.0047,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0961,
                "total_shots": 1,
                "shots_off_target": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4543,
            "combined_rank_score": 2601.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4244.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7684,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marcos Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Carrizo",
                  "ranking": 4538
                },
                {
                  "player_name": "Ibrahim Diabaté",
                  "ranking": 4539
                },
                {
                  "player_name": "Chuba Akpom",
                  "ranking": 4540
                },
                {
                  "player_name": "Dani Rodríguez",
                  "ranking": 4541
                },
                {
                  "player_name": "Alex Valera",
                  "ranking": 4542
                }
              ],
              "lower": [
                {
                  "player_name": "Ximo Navarro",
                  "ranking": 4544
                },
                {
                  "player_name": "João Virgínia",
                  "ranking": 4545
                },
                {
                  "player_name": "Dimitri Foulquier",
                  "ranking": 4546
                },
                {
                  "player_name": "Nathan Patterson",
                  "ranking": 4547
                },
                {
                  "player_name": "Isaac Price",
                  "ranking": 4548
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.628,
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.628,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.53,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 18.5 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2288,
                "goal_rate": 0.1669,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0618,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.17,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.6745,
                  "totalShots": 2.3609,
                  "minutesPlayed": 39.5937,
                  "shotValueNormalized": -0.191,
                  "accuratePass": 4.7928,
                  "expectedAssists": 0.1675
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.22884753346443176,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0463
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0346
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0157
                        }
                      ],
                      "others": -0.0742,
                      "total": 0.2288,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.136766
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.115863
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.089423
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.069422
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.053194
                        }
                      ],
                      "others_margin": -0.280801
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1668720245361328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0425
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0361
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0357
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0147
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0517,
                      "total": 0.1669,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.16064
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.137809
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.136337
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.061874
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.050099
                        }
                      ],
                      "others_margin": -0.269793
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4288816750049591,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1272
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0654
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.038
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0266
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0868,
                      "total": 0.4289,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.24342
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.132455
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069715
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.048202
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.04298
                        }
                      ],
                      "others_margin": -0.184481
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4647816750049591,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3631
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1601
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.1101
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0507
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0395
                        }
                      ],
                      "others": -0.0522,
                      "total": 1.4647,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.363128
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.160137
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.110087
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.050717
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.039538
                        }
                      ],
                      "others_margin": -0.052174
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06180558726191521,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0253
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0142
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.0618,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.352104
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.15953
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.153201
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.082915
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.050736
                        }
                      ],
                      "others_margin": -0.195919
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4308730363845825,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1846
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0282
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0187
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0185
                        }
                      ],
                      "others": -0.0533,
                      "total": 0.4309,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.317642
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.079681
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.059944
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037989
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.037417
                        }
                      ],
                      "others_margin": -0.116852
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.768398761749268,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.046
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0321
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0246
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0202
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.008
                        }
                      ],
                      "others": -0.0641,
                      "total": 6.7684,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.046047
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032148
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024552
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.020228
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.008048
                        }
                      ],
                      "others_margin": -0.064186
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2246,
                "goal_rate": 0.1637,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0606,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1668,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0059)",
              "stats": {
                "expected_goals": 0.2246,
                "goal_rate": 0.1627,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0606,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1658,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0059,
                "history_matches": 6,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4373,
                  "after": 1.4697
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0197
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.5 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0462,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0125,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53
              },
              "params": {
                "expected_minutes": 18.53,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0462,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0125,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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.868,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 0.719
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4543,
                "fifa_rank": 4244.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.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0334,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0334,
                "scorer_weight": 0.0297,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0232,
                "finishing_factor": 0.868,
                "appearance_weight": 0.719,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0334,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 0.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "provider_weight": 0.0123,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0161,
                "creation_factor": 1.25,
                "appearance_weight": 0.719,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Kike García": {
          "player_id": 84972,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 186,
          "market_value": 725000,
          "stats": {
            "expected_goals": 0.0654,
            "goal_rate": 0.0393,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0249,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 6.9,
            "minutes": 25,
            "total_pass": 8,
            "accurate_pass": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.2763,
            "dispossessed": 1.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0197,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0495,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 13,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0354,
            "projected_assists": 0,
            "assist_probability": 0.0137,
            "finishing_factor": 0.8,
            "creation_factor": 0.9574,
            "fifa_overall": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3587,
            "combined_rank_score": 1553.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 712.0,
            "sofascore_rating": 6.6892,
            "sofascore_appearances": 37.0,
            "fifa_rank": 2395.0,
            "fifa_overall": 75.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": "Kike García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gayà",
                  "ranking": 3582
                },
                {
                  "player_name": "Alisson Santos",
                  "ranking": 3583
                },
                {
                  "player_name": "Dakonam Djené",
                  "ranking": 3584
                },
                {
                  "player_name": "Álvaro Ferllo",
                  "ranking": 3585
                },
                {
                  "player_name": "Sivera",
                  "ranking": 3586
                }
              ],
              "lower": [
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                },
                {
                  "player_name": "Hugo Rincón",
                  "ranking": 3590
                },
                {
                  "player_name": "Christos Zafeiris",
                  "ranking": 3591
                },
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€725,000) scaled to 25.3 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.44)",
              "stats": {
                "expected_goals": 0.226,
                "goal_rate": 0.14,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.081,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 6.9,
                "minutes": 90,
                "total_pass": 28,
                "accurate_pass": 20,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 41,
                "possession_lost": 8.1,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assist_rate": 0.07,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.171,
                "offsides": 1,
                "ball_carries": 19,
                "total_progression": 47,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 725000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.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": 3587,
                "fifa_rank": 2395.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.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0354,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0354,
                "scorer_weight": 0.0292,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0228,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0354,
                "projected_assists": 0,
                "assist_probability": 0.0137,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0137,
                "provider_weight": 0.0133,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0174,
                "creation_factor": 0.9574,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Marcos Fernández": {
          "player_id": 1183542,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 176,
          "market_value": 1500000,
          "stats": {
            "expected_goals": 0.0476,
            "goal_rate": 0.0335,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0137,
            "key_pass": 0,
            "rating": 6.7684,
            "minutes": 19,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0341,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 3.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 9.6,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.719,
            "bench_expected_minutes": 18.53,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0334,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 0.868,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299.0,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1441,
                "expected_assists": 0.2761,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345.0,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2692,
                "expected_assists": 0.1481,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327.0,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.053,
                "expected_assists": 0.4026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5788,
                "expected_assists": 0.0002,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310.0,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0962,
                "expected_assists": 0.0047,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053.0,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0961,
                "total_shots": 1,
                "shots_off_target": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4543,
            "combined_rank_score": 2601.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4244.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7684,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marcos Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Carrizo",
                  "ranking": 4538
                },
                {
                  "player_name": "Ibrahim Diabaté",
                  "ranking": 4539
                },
                {
                  "player_name": "Chuba Akpom",
                  "ranking": 4540
                },
                {
                  "player_name": "Dani Rodríguez",
                  "ranking": 4541
                },
                {
                  "player_name": "Alex Valera",
                  "ranking": 4542
                }
              ],
              "lower": [
                {
                  "player_name": "Ximo Navarro",
                  "ranking": 4544
                },
                {
                  "player_name": "João Virgínia",
                  "ranking": 4545
                },
                {
                  "player_name": "Dimitri Foulquier",
                  "ranking": 4546
                },
                {
                  "player_name": "Nathan Patterson",
                  "ranking": 4547
                },
                {
                  "player_name": "Isaac Price",
                  "ranking": 4548
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.628,
          "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",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.628,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.53,
            "bench_appearance_prob": 0.719,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 18.5 expected mins (appearance prob 0.72); FBref playing time empirical prior: 2.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2288,
                "goal_rate": 0.1669,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0618,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.17,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.6745,
                  "totalShots": 2.3609,
                  "minutesPlayed": 39.5937,
                  "shotValueNormalized": -0.191,
                  "accuratePass": 4.7928,
                  "expectedAssists": 0.1675
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.22884753346443176,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0463
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0346
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0157
                        }
                      ],
                      "others": -0.0742,
                      "total": 0.2288,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.136766
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.115863
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.089423
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.069422
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.053194
                        }
                      ],
                      "others_margin": -0.280801
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1668720245361328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0425
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0361
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0357
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0147
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0517,
                      "total": 0.1669,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.16064
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.137809
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.136337
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.061874
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.050099
                        }
                      ],
                      "others_margin": -0.269793
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4288816750049591,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1272
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0654
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.038
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0266
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0868,
                      "total": 0.4289,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.24342
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.132455
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069715
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.048202
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.04298
                        }
                      ],
                      "others_margin": -0.184481
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4647816750049591,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3631
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1601
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.1101
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0507
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0395
                        }
                      ],
                      "others": -0.0522,
                      "total": 1.4647,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.363128
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.160137
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.110087
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.050717
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.039538
                        }
                      ],
                      "others_margin": -0.052174
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06180558726191521,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0253
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0142
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.0618,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.352104
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.15953
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.153201
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.082915
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.050736
                        }
                      ],
                      "others_margin": -0.195919
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4308730363845825,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1846
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0282
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0187
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0185
                        }
                      ],
                      "others": -0.0533,
                      "total": 0.4309,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.317642
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.079681
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.059944
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037989
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.037417
                        }
                      ],
                      "others_margin": -0.116852
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.768398761749268,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.046
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0321
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0246
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0202
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.008
                        }
                      ],
                      "others": -0.0641,
                      "total": 6.7684,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.046047
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.032148
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024552
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.020228
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.008048
                        }
                      ],
                      "others_margin": -0.064186
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2246,
                "goal_rate": 0.1637,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0606,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1668,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0059)",
              "stats": {
                "expected_goals": 0.2246,
                "goal_rate": 0.1627,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0606,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 36,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1658,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 3,
                "total_progression": 20,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0059,
                "history_matches": 6,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4373,
                  "after": 1.4697
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0197
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.5 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0462,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0125,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53
              },
              "params": {
                "expected_minutes": 18.53,
                "appearance_probability": 0.719
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0462,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0125,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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.868,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 0.719
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "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.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4543,
                "fifa_rank": 4244.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.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0334,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0334,
                "scorer_weight": 0.0297,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0232,
                "finishing_factor": 0.868,
                "appearance_weight": 0.719,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.0476,
                "goal_rate": 0.0335,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.7684,
                "minutes": 19,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0341,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 3.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.719,
                "bench_expected_minutes": 18.53,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0334,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 0.868,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "provider_weight": 0.0123,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0161,
                "creation_factor": 1.25,
                "appearance_weight": 0.719,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Kike García": {
          "player_id": 84972,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 186,
          "market_value": 725000,
          "stats": {
            "expected_goals": 0.0654,
            "goal_rate": 0.0393,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0249,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 6.9,
            "minutes": 25,
            "total_pass": 8,
            "accurate_pass": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.2763,
            "dispossessed": 1.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0197,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0495,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 13,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.112,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0354,
            "projected_assists": 0,
            "assist_probability": 0.0137,
            "finishing_factor": 0.8,
            "creation_factor": 0.9574,
            "fifa_overall": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3587,
            "combined_rank_score": 1553.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 712.0,
            "sofascore_rating": 6.6892,
            "sofascore_appearances": 37.0,
            "fifa_rank": 2395.0,
            "fifa_overall": 75.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": "Kike García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gayà",
                  "ranking": 3582
                },
                {
                  "player_name": "Alisson Santos",
                  "ranking": 3583
                },
                {
                  "player_name": "Dakonam Djené",
                  "ranking": 3584
                },
                {
                  "player_name": "Álvaro Ferllo",
                  "ranking": 3585
                },
                {
                  "player_name": "Sivera",
                  "ranking": 3586
                }
              ],
              "lower": [
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                },
                {
                  "player_name": "Hugo Rincón",
                  "ranking": 3590
                },
                {
                  "player_name": "Christos Zafeiris",
                  "ranking": 3591
                },
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€725,000) scaled to 25.3 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.44)",
              "stats": {
                "expected_goals": 0.226,
                "goal_rate": 0.14,
                "goals": 0,
                "total_shots": 2,
                "shots_on_target": 1,
                "expected_assists": 0.081,
                "duels_won": 4,
                "aerial_won": 1,
                "rating": 6.9,
                "minutes": 90,
                "total_pass": 28,
                "accurate_pass": 20,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 41,
                "possession_lost": 8.1,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "assist_rate": 0.07,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.171,
                "offsides": 1,
                "ball_carries": 19,
                "total_progression": 47,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 725000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0228,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0481,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.26 (squad xG sum 1.2212, xG scale 1.0293, xA scale 1.0933, team xA 0.82 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574
              },
              "params": {
                "team_lambda": 1.257,
                "squad_xg_sum": 1.2212,
                "squad_xa_sum": 0.7473,
                "team_expected_assists": 0.817,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0293,
                "xa_scale": 1.0933,
                "opponent_lambda": 0.765,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.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": 3587,
                "fifa_rank": 2395.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.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0354,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0354,
                "scorer_weight": 0.0292,
                "squad_weight_total": 1.2812,
                "weight_share": 0.0228,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5901,
                    "already": 0,
                    "effective_weight": 0.5901,
                    "runner_up": "Tyrhys Dolan",
                    "runner_up_effective_weight": 0.1452
                  }
                ]
              }
            },
            {
              "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.0654,
                "goal_rate": 0.0393,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0249,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 6.9,
                "minutes": 25,
                "total_pass": 8,
                "accurate_pass": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.2763,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0197,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0495,
                "offsides": 1,
                "ball_carries": 5,
                "total_progression": 13,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.112,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0354,
                "projected_assists": 0,
                "assist_probability": 0.0137,
                "finishing_factor": 0.8,
                "creation_factor": 0.9574,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0137,
                "provider_weight": 0.0133,
                "squad_weight_total": 0.7671,
                "weight_share": 0.0174,
                "creation_factor": 0.9574,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Omar El Hilali",
                    "weight": 0.1795,
                    "already": 0,
                    "effective_weight": 0.1795,
                    "runner_up": "Javi Puado",
                    "runner_up_effective_weight": 0.1362,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.26,
        "expected_assists": 0.82,
        "total_shots": 10,
        "shots_on_target": 2,
        "total_passes": 273,
        "interceptions": 4,
        "tackles": 6,
        "avg_rating": 6.81,
        "possession_estimated_pct": 50.6,
        "pressing_actions_per_90": 6.5
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Izan Merino",
        "attacker_role": "LWB",
        "attacker_market_value": 1900000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Pol Lozano"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.472,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.431,
        "xg_contribution": 0.1001,
        "xg_multiplier": 1.016,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pol Lozano",
            "role": "RWB",
            "market_value": 5800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.569
          }
        ],
        "duel_analysis": "Izan Merino (LWB) is evenly matched against Pol Lozano in a direct 1v1 contest. Duel win probability: 43%.  Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.100 — with neither side clearly dominant."
      },
      {
        "attacker": "Jens-Lys Cajuste",
        "attacker_role": "CM",
        "attacker_market_value": 6600000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Javi Puado"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.487,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.485,
        "xg_contribution": 0.1134,
        "xg_multiplier": 1.0516,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Javi Puado",
            "role": "CDM",
            "market_value": 7000000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.515
          }
        ],
        "duel_analysis": "Jens-Lys Cajuste (CM) is evenly matched against Javi Puado in a direct 1v1 contest. Duel win probability: 49%.  Matchup xG multiplier ×1.05 (×1.00 = his usual level). Projected xG contribution: 0.113 — with neither side clearly dominant."
      },
      {
        "attacker": "Pablo Martínez",
        "attacker_role": "CM",
        "attacker_market_value": 3100000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.439,
        "defenders": [
          "Javi Puado"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.487,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.44,
        "xg_contribution": 0.1014,
        "xg_multiplier": 0.9848,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Javi Puado",
            "role": "CDM",
            "market_value": 7000000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.56
          }
        ],
        "duel_analysis": "Pablo Martínez (CM) is evenly matched against Javi Puado in a direct 1v1 contest. Duel win probability: 44%.  Matchup xG multiplier ×0.98 (×1.00 = his usual level). Projected xG contribution: 0.101 — with neither side clearly dominant."
      },
      {
        "attacker": "Juan Cruz",
        "attacker_role": "RWB",
        "attacker_market_value": 1700000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Gabriel Moscardo"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.493,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.354,
        "xg_contribution": 0.1042,
        "xg_multiplier": 0.9029,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Gabriel Moscardo",
            "role": "LWB",
            "market_value": 7500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.646
          }
        ],
        "duel_analysis": "Juan Cruz (RWB) faces tough defensive resistance against Gabriel Moscardo in a direct 1v1 contest. Duel win probability: 35%.  Matchup xG multiplier ×0.90 (×1.00 = his usual level). Projected xG contribution: 0.104 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Chupete",
        "attacker_role": "ST",
        "attacker_market_value": 10700000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.531,
        "defenders": [
          "Omar El Hilali",
          "Quilindschy Hartman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.587,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3513,
        "xg_multiplier": 0.9393,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Omar El Hilali",
            "role": "CB",
            "market_value": 15900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Quilindschy Hartman",
            "role": "CB",
            "market_value": 15500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Chupete (ST) faces tough defensive resistance against Omar El Hilali and Quilindschy Hartman in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.351 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Adrián Niño",
        "attacker_role": "ST",
        "attacker_market_value": 1900000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Omar El Hilali",
          "Quilindschy Hartman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.587,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2698,
        "xg_multiplier": 0.8836,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Omar El Hilali",
            "role": "CB",
            "market_value": 15900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Quilindschy Hartman",
            "role": "CB",
            "market_value": 15500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Adrián Niño (ST) faces tough defensive resistance against Omar El Hilali and Quilindschy Hartman in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.88 (×1.00 = his usual level). Projected xG contribution: 0.270 — and is restricted in space and time on the ball."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Gabriel Moscardo",
        "attacker_role": "LWB",
        "attacker_market_value": 7500000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Juan Cruz"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.486,
        "xg_contribution": 0.0967,
        "xg_multiplier": 1.0971,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Juan Cruz",
            "role": "RWB",
            "market_value": 1700000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.514
          }
        ],
        "duel_analysis": "Gabriel Moscardo (LWB) is slightly favored against Juan Cruz in a direct 1v1 contest. Duel win probability: 49%.  Matchup xG multiplier ×1.10 (×1.00 = his usual level). Projected xG contribution: 0.097 — creating consistent moderate threat."
      },
      {
        "attacker": "Urko González",
        "attacker_role": "CM",
        "attacker_market_value": 11600000,
        "attacker_height": 189,
        "attacker_skill_quality": 0.541,
        "defenders": [
          "David Larrubia"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.545,
        "xg_contribution": 0.112,
        "xg_multiplier": 1.1401,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.0,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "David Larrubia",
            "role": "CDM",
            "market_value": 5300000,
            "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.7,
            "defensive_success_rate": 0.455
          }
        ],
        "duel_analysis": "Urko González (CM) is slightly favored against David Larrubia in a direct 1v1 contest. Duel win probability: 55%.  Matchup xG multiplier ×1.14 (×1.00 = his usual level). Projected xG contribution: 0.112 — creating consistent moderate threat."
      },
      {
        "attacker": "Tyrhys Dolan",
        "attacker_role": "CM",
        "attacker_market_value": 10800000,
        "attacker_height": 170,
        "attacker_skill_quality": 0.532,
        "defenders": [
          "David Larrubia"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.473,
        "xg_contribution": 0.1439,
        "xg_multiplier": 1.0334,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "David Larrubia",
            "role": "CDM",
            "market_value": 5300000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.527
          }
        ],
        "duel_analysis": "Tyrhys Dolan (CM) is evenly matched against David Larrubia in a direct 1v1 contest. Duel win probability: 47%.  Matchup xG multiplier ×1.03 (×1.00 = his usual level). Projected xG contribution: 0.144 — with neither side clearly dominant."
      },
      {
        "attacker": "Pol Lozano",
        "attacker_role": "RWB",
        "attacker_market_value": 5800000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.472,
        "defenders": [
          "Izan Merino"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.409,
        "xg_contribution": 0.1017,
        "xg_multiplier": 0.984,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Izan Merino",
            "role": "LWB",
            "market_value": 1900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.591
          }
        ],
        "duel_analysis": "Pol Lozano (RWB) is evenly matched against Izan Merino in a direct 1v1 contest. Duel win probability: 41%.  Matchup xG multiplier ×0.98 (×1.00 = his usual level). Projected xG contribution: 0.102 — with neither side clearly dominant."
      },
      {
        "attacker": "Roberto Fernández",
        "attacker_role": "ST",
        "attacker_market_value": 10300000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.526,
        "defenders": [
          "Adam Aznou",
          "Fernando Calero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.247,
        "xg_contribution": 0.4746,
        "xg_multiplier": 1.0696,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adam Aznou",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.753
          },
          {
            "player": "Fernando Calero",
            "role": "CB",
            "market_value": 2100000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.753
          }
        ],
        "duel_analysis": "Roberto Fernández (ST) is slightly favored against Adam Aznou and Fernando Calero in a 2-defender block. Duel win probability: 25%.  Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.475 — creating consistent moderate threat."
      },
      {
        "attacker": "Bryan Zaragoza",
        "attacker_role": "ST",
        "attacker_market_value": 7500000,
        "attacker_height": 165,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Adam Aznou",
          "Fernando Calero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1357,
        "xg_multiplier": 0.927,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adam Aznou",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Fernando Calero",
            "role": "CB",
            "market_value": 2100000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Bryan Zaragoza (ST) faces tough defensive resistance against Adam Aznou and Fernando Calero in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.136 — and is restricted in space and time on the ball."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.502,
      "away_midfield_power": 0.555,
      "home_creative_power": 0.381,
      "away_creative_power": 0.458,
      "home_defensive_power": 0.412,
      "away_defensive_power": 0.433,
      "home_dominance_ratio": 0.475,
      "home_midfield_count": 5,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Jens-Lys Cajuste",
        "David Larrubia",
        "Pablo Martínez",
        "Izan Merino",
        "Juan Cruz"
      ],
      "away_midfield_players": [
        "Urko González",
        "Tyrhys Dolan",
        "Gabriel Moscardo",
        "Javi Puado",
        "Pol Lozano"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 49.4,
      "estimated_possession_away_pct": 50.6,
      "home_pressing_actions_per_90": 6.3,
      "away_pressing_actions_per_90": 6.5,
      "home_key_passes_projected": 3.8,
      "away_key_passes_projected": 4.2,
      "home_throughball_threat": 1.7,
      "away_throughball_threat": 2.0,
      "key_personal_duel": "Jens-Lys Cajuste vs Urko González",
      "midfield_lambda_factor_home": 0.99,
      "midfield_lambda_factor_away": 1.009
    },
    "formation_analysis": {
      "home_formation": "3-5-2",
      "away_formation": "3-5-2",
      "home_tactical_bonus": 0.0,
      "away_tactical_bonus": 0.0,
      "formation_verdict": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 0.765,
    "away_lambda": 1.257,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Central Mid vs Defensive Mid — Pressing/Creation Duel"
    ],
    "home_player_antagonists": {
      "Izan Merino": {
        "opponents": [
          "Pol Lozano",
          "Gabriel Moscardo"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Jens-Lys Cajuste": {
        "opponents": [
          "Javi Puado",
          "Urko González"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pablo Martínez": {
        "opponents": [
          "Javi Puado",
          "Tyrhys Dolan"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Juan Cruz": {
        "opponents": [
          "Gabriel Moscardo",
          "Pol Lozano"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Chupete": {
        "opponents": [
          "Omar El Hilali",
          "Quilindschy Hartman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Adrián Niño": {
        "opponents": [
          "Omar El Hilali",
          "Quilindschy Hartman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "David Larrubia": {
        "opponents": [
          "Urko González",
          "Tyrhys Dolan",
          "Javi Puado"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Adam Aznou": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Fernando Calero": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Alfonso Herrero": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Jose Salinas": {
        "opponents": [
          "Roberto Fernández"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Pol Lozano": {
        "opponents": [
          "Izan Merino",
          "Juan Cruz"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Javi Puado": {
        "opponents": [
          "Jens-Lys Cajuste",
          "Pablo Martínez",
          "David Larrubia"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Gabriel Moscardo": {
        "opponents": [
          "Juan Cruz",
          "Izan Merino"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Omar El Hilali": {
        "opponents": [
          "Chupete",
          "Adrián Niño"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Quilindschy Hartman": {
        "opponents": [
          "Chupete",
          "Adrián Niño"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Urko González": {
        "opponents": [
          "David Larrubia",
          "Jens-Lys Cajuste"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Tyrhys Dolan": {
        "opponents": [
          "David Larrubia",
          "Pablo Martínez"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Roberto Fernández": {
        "opponents": [
          "Adam Aznou",
          "Fernando Calero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Bryan Zaragoza": {
        "opponents": [
          "Adam Aznou",
          "Fernando Calero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Marko Dmitrović": {
        "opponents": [
          "Chupete",
          "Adrián Niño"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Vanja Drkušić": {
        "opponents": [
          "Chupete"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Jens-Lys Cajuste vs Urko González will be the pivotal duel. Total antagonist xG — Home: 1.04, Away: 1.06. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 1.0107,
      "home_set_piece_bonus": 0.021,
      "away_set_piece_bonus": 0.042,
      "home_defensive_solidity_vs": 0.9839,
      "away_defensive_solidity_vs": 1.0068,
      "home_midfield_factor": 0.99,
      "away_midfield_factor": 1.009,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.4581,
      "away_avg_quality": 0.5185,
      "avg_quality_gap": -0.0604,
      "squad_value_gap_log": -0.7389,
      "top5_value_gap_log": -0.5701,
      "attack_value_gap_log": -0.5372,
      "elite_count_gap": 0,
      "combined_quality_gap": -0.1398,
      "stronger_lambda_boost": 0.0769,
      "weaker_lambda_suppression": 0.0447,
      "home_bench_lambda_bonus": 0.0838,
      "away_bench_lambda_bonus": 0.1025,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Málaga CF",
        "away_squad": "Espanyol",
        "home_goals_per90": 0.3333333333333333,
        "away_goals_against_per90": 1.67,
        "away_goals_per90": 1.6666666666666667,
        "home_goals_against_per90": 0.33,
        "home_empirical_lambda": 0.412,
        "away_empirical_lambda": 0.407,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 0.765,
      "pre_competitive_floor_away_lambda": 1.257,
      "pre_calibration_home_lambda": 0.7655,
      "pre_calibration_away_lambda": 1.2567,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 0.765,
      "final_away_lambda": 1.257
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 20,
    "opponent_position": 15,
    "standing_lambda_multiplier": 0.6338,
    "attack_index": 0.347,
    "defense_concede_index": 0.866,
    "form_multiplier": 0.969,
    "team_attack_rate_contextual": 0.5,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 0.43,
    "opponent_ppg": 1.0
  },
  "away_standing": {
    "available": true,
    "team_position": 15,
    "opponent_position": 20,
    "standing_lambda_multiplier": 1.0828,
    "attack_index": 0.866,
    "defense_concede_index": 1.386,
    "form_multiplier": 1.031,
    "team_attack_rate_contextual": 1.25,
    "opp_defense_rate_contextual": 2.0,
    "team_ppg": 1.0,
    "opponent_ppg": 0.43
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Málaga vs Espanyol. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 3-5-2 vs 3-5-2 (duel lambdas: Home 0.765, Away 1.257). Final calibrated Poisson lambdas: Home 0.765, Away 1.257 (most likely score 0-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 9,
      "home_fbref_players": 0,
      "away_starters_count": 11,
      "away_xgboost_players": 10,
      "away_fbref_players": 9,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Málaga CF",
      "away_squad": "Espanyol",
      "home_goals_per90": 0.3333333333333333,
      "away_goals_against_per90": 1.67,
      "away_goals_per90": 1.6666666666666667,
      "home_goals_against_per90": 0.33,
      "home_empirical_lambda": 0.412,
      "away_empirical_lambda": 0.407,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 0.765,
      "away_lambda": 1.257,
      "micro_duel_home_lambda": 0.765,
      "micro_duel_away_lambda": 1.257
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-09-30T01:04:40Z",
  "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
  }
}