{
  "match_info": {
    "home_team": "Osasuna",
    "away_team": "Rayo Vallecano",
    "tournament": "LaLiga",
    "date": "20260919",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "4-3-3",
    "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.1158,
    "match_resolution": "regulation",
    "predicted_winner": "Rayo Vallecano",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2832,
      "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.1158
      },
      {
        "score": "1-1",
        "probability": 0.133
      },
      {
        "score": "1-0",
        "probability": 0.1074
      },
      {
        "score": "0-0",
        "probability": 0.0979
      },
      {
        "score": "1-2",
        "probability": 0.0798
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0979,
      "0-1": 0.1158,
      "0-2": 0.071,
      "0-3": 0.0287,
      "0-4": 0.0087,
      "0-5": 0.0021,
      "1-0": 0.1074,
      "1-1": 0.133,
      "1-2": 0.0798,
      "1-3": 0.0323,
      "1-4": 0.0098,
      "1-5": 0.0024,
      "2-0": 0.0611,
      "2-1": 0.0741,
      "2-2": 0.0449,
      "2-3": 0.0181,
      "2-4": 0.0055,
      "2-5": 0.0013,
      "3-0": 0.0229,
      "3-1": 0.0278,
      "3-2": 0.0168,
      "3-3": 0.0068,
      "3-4": 0.0021,
      "4-0": 0.0064,
      "4-1": 0.0078,
      "4-2": 0.0047,
      "4-3": 0.0019,
      "4-4": 0.0006,
      "5-0": 0.0015,
      "5-1": 0.0018,
      "5-2": 0.0011
    },
    "outcome": {
      "home_win": 0.3371,
      "draw": 0.2832,
      "away_win": 0.3797
    },
    "markets": {
      "over_2_5_goals": 0.4137,
      "under_2_5_goals": 0.5863,
      "btts_yes": 0.4756,
      "btts_no": 0.5244,
      "home_clean_sheet": 0.2976,
      "away_clean_sheet": 0.3247
    },
    "home_ratings": {
      "DR": 6.63,
      "MCR": 6.8,
      "ATR": 6.58,
      "GK": 6.67
    },
    "away_ratings": {
      "DR": 6.76,
      "MCR": 6.68,
      "ATR": 7.06,
      "GK": 6.76
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Osasuna vs Rayo Vallecano. Most likely scoreline: 0-1. Lambdas derived from 5 home and 5 away individual player duels.",
      "key_player": "Projected scorer(s): Sergio Camello",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 4-3-3. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Jon Moncayola vs Isi Palazón will be the pivotal duel. Total antagonist xG — Home: 0.37, Away: 0.73. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Right Wing vs Left Back — Flank Battle."
    },
    "confidence": 0.56,
    "home_lambda": 1.125,
    "away_lambda": 1.212,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.133,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.3371,
      "draw": 0.2832,
      "away_win": 0.3797
    },
    "favorite": "Rayo Vallecano",
    "favorite_win_probability": 0.3797,
    "fair_spread": -0.087,
    "fair_total": 2.337,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Osasuna",
        "estimate": 1.125,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Rayo Vallecano",
        "estimate": 1.212,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.4137,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4756,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Osasuna",
        "estimate": 1.0,
        "probability": 0.2976,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Rayo Vallecano",
        "estimate": 1.0,
        "probability": 0.3247,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Raúl García de Haro (Osasuna)",
        "estimate": 0.2205,
        "probability": 0.0,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Sergio Camello (Rayo Vallecano)",
        "estimate": 0.3055,
        "probability": 0.4523,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Romain Del Castillo (Osasuna)",
        "estimate": 0.135,
        "probability": 0.0,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Pedro Díaz (Rayo Vallecano)",
        "estimate": 0.083,
        "probability": 0.2044,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 2.337,
      "expected_total_shots": 28,
      "expected_total_passes": 530,
      "expected_pressing_actions_per_90": 12.3,
      "possession_home_pct": 51.0,
      "possession_away_pct": 49.0,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Rayo Vallecano",
      "favorite_win_probability": 0.3797,
      "script": "Rayo Vallecano is the fair winner side, but the baseline remains narrow: fair spread -0.09 goals and fair total 2.34.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 14 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Osasuna must keep the match inside one goal.",
      "late_game": "A Rayo Vallecano lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Rayo Vallecano chance creation leans on Sergio Camello against Enzo Boyomo in Right Wing vs Left Back — Flank Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Osasuna: starters carry the main goal usage through the highest xG attackers; bench watchlist: Lucas Torró, Ante Budimir, Kike Barja.",
      "Rayo Vallecano: starters carry the main goal usage through Sergio Camello; bench watchlist: Randy Nteka, Raúl de Tomás.",
      "Assist usage should flow through Pedro Díaz; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Rayo Vallecano tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 14 total first-half shots, and 1.17 first-half xG pace.",
      "45-70: If the match is level, watch midfield control and the listed bench watchlists for usage changes.",
      "70-90: If Osasuna is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Rayo Vallecano.",
      "Osasuna 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": {
    "Osasuna": {
      "formation": "4-2-3-1",
      "players": {
        "Sergio Herrera": {
          "player_id": 294377,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 2600000,
          "stats": {
            "saves": 2,
            "goals_prevented": 0.0,
            "rating": 6.6694,
            "minutes": 88,
            "total_pass": 20,
            "accurate_pass": 15,
            "duels_won": 0,
            "total_long_balls": 13,
            "accurate_long_balls": 8,
            "touches": 29,
            "clearances": 0,
            "ball_recovery": 8,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 5.6421,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 0.33,
            "shotsOnTargetAgainst": 1.3333,
            "cleanSheets": 0.6667,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.6667,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 75.0,
            "cleanSheetPct": 66.7,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.67,
            "expected_saves": 1.54,
            "high_pressure_saves": 0.59,
            "shots_faced": 3.3,
            "opponent_faced": "Sergio Camello, Jorge de Frutos",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -1.6289
              },
              "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0053,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": 0.2211
              },
              "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "ball_recovery": 5,
                "saves": 1,
                "goals_prevented": -0.6964
              },
              "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 20,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": 0.1729
              },
              "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": 1581,
            "combined_rank_score": 645.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 3.0,
            "fifa_rank": 954.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "projected_match_rating": 6.6694,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Herrera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jardel",
                  "ranking": 1576
                },
                {
                  "player_name": "Kim Dong-wook",
                  "ranking": 1577
                },
                {
                  "player_name": "Viktor Đukanović",
                  "ranking": 1578
                },
                {
                  "player_name": "Daniel Hall",
                  "ranking": 1579
                },
                {
                  "player_name": "Daniel Ballard",
                  "ranking": 1580
                }
              ],
              "lower": [
                {
                  "player_name": "Maximiliano Romero",
                  "ranking": 1582
                },
                {
                  "player_name": "Lucas Digne",
                  "ranking": 1583
                },
                {
                  "player_name": "Nico Elvedi",
                  "ranking": 1584
                },
                {
                  "player_name": "Augusto Batalla",
                  "ranking": 1585
                },
                {
                  "player_name": "Pavel Šulc",
                  "ranking": 1586
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "history_matches": 4,
          "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": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "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 4 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.797,
                "minutes": 90,
                "total_pass": 21,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 30,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.75,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:40.064367+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 113,
                    "rows": 393
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.1927,
                  "touches": 28.7972,
                  "totalOwnHalfPasses": 11.1527,
                  "punches": 0.5335,
                  "distribution_accuracy": 0.8653,
                  "accurateKeeperSweeper": 0.1927
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.4071731567382812,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.2055
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0737
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0627
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0589
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0523
                        }
                      ],
                      "others": -0.1203,
                      "total": 2.4072
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.053
                      },
                      {
                        "name": "punches",
                        "importance": 0.051
                      },
                      {
                        "name": "touches",
                        "importance": 0.0482
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0468
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0432
                      }
                    ],
                    "decomposition": {
                      "base": -0.0536,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.1815
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0709
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0399
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0362
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0341
                        }
                      ],
                      "others": -0.0586,
                      "total": -0.395
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.797021865844727,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0593
                      },
                      {
                        "name": "touches",
                        "importance": 0.0495
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0484
                      },
                      {
                        "name": "savedShotsFromInsideTheBox",
                        "importance": 0.0468
                      },
                      {
                        "name": "punches",
                        "importance": 0.0464
                      }
                    ],
                    "decomposition": {
                      "base": 7.0716,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": -0.1249
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0653
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0399
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0377
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0295
                        }
                      ],
                      "others": 0.0227,
                      "total": 6.797
                    }
                  }
                ],
                "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": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.362,
                  "after": 2.2636
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "expected_saves": 1.54,
                "high_pressure_saves": 0.59,
                "shots_faced": 3.3,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Camello, Jorge de Frutos",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "expected_saves": 1.54,
                "high_pressure_saves": 0.59,
                "shots_faced": 3.3,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 79.0)",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "expected_saves": 1.54,
                "high_pressure_saves": 0.59,
                "shots_faced": 3.3,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1581,
                "fifa_rank": 954.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "expected_saves": 1.54,
                "high_pressure_saves": 0.59,
                "shots_faced": 3.3,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 7.674,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 2,
                "goals_prevented": 0.0,
                "rating": 6.6694,
                "minutes": 88,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 13,
                "accurate_long_balls": 8,
                "touches": 29,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 5.6421,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 0.33,
                "shotsOnTargetAgainst": 1.3333,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "expected_saves": 1.54,
                "high_pressure_saves": 0.59,
                "shots_faced": 3.3,
                "opponent_faced": "Sergio Camello, Jorge de Frutos",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Enzo Boyomo": {
          "player_id": 1067582,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 22,
          "height": 181,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "rating": 6.834,
            "minutes": 57,
            "total_pass": 19,
            "accurate_pass": 17,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 31,
            "possession_lost": 4.0898,
            "dispossessed": 1.0224,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 19.3,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 1.73,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.8,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.596,
            "opponent_faced": "Sergio Camello",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 51,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1828,
            "combined_rank_score": 705.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 966.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 6.834,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Boyomo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Benjamin André",
                  "ranking": 1823
                },
                {
                  "player_name": "Konstantinos Mavropanos",
                  "ranking": 1824
                },
                {
                  "player_name": "Nicolás Tagliafico",
                  "ranking": 1825
                },
                {
                  "player_name": "Joaquín Soto",
                  "ranking": 1826
                },
                {
                  "player_name": "Jeon Seong-jin",
                  "ranking": 1827
                }
              ],
              "lower": [
                {
                  "player_name": "Yasin Ayari",
                  "ranking": 1829
                },
                {
                  "player_name": "Fernando Ovelar",
                  "ranking": 1830
                },
                {
                  "player_name": "Diego Sanhueza",
                  "ranking": 1831
                },
                {
                  "player_name": "Aaron Astudillo",
                  "ranking": 1832
                },
                {
                  "player_name": "Valentin Rongier",
                  "ranking": 1833
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.381,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.381,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0224,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 52.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.04, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.684,
                "minutes": 56,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 4.0,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 51.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 17.7297,
                  "touches_p90": 49.4595,
                  "possessionLostCtrl": 3.9189,
                  "totalClearance": 4.0811,
                  "aerialWon": 1.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.908528745174408,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0458
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0428
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0182
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0155
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0145
                        }
                      ],
                      "others": -0.0427,
                      "total": 0.9085
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4103420972824097,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0443
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0418
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0377
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.028
                        }
                      ],
                      "others": 0.0808,
                      "total": 1.4103
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8419017791748047,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0594
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0541
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0399
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0321
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0324
                        }
                      ],
                      "others": 0.0633,
                      "total": 0.8419
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.261552333831787,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.5444
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.412
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2896
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2724
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1916
                        }
                      ],
                      "others": -0.4684,
                      "total": 4.2616
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1009725332260132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1236
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0588
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0541
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0495
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0385
                        }
                      ],
                      "others": -0.0238,
                      "total": 1.101
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.683967113494873,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0392
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0314
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0282
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0177
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0167
                        }
                      ],
                      "others": 0.0197,
                      "total": 6.684
                    }
                  }
                ],
                "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.0224, quality 0.575)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0224
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0186)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73
              },
              "params": {
                "blend_weight": 0.0186,
                "history_matches": 2,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.8608,
                  "after": 0.9067
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "fouls",
                  "before": 2.0449,
                  "after": 2.0688
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9289,
                  "after": 0.9116
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73
              },
              "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": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.596,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Camello",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.596,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.596,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1828,
                "fifa_rank": 966.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.596,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.1593,
                "squad_weight_total": 7.674,
                "weight_share": 0.0208,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.834,
                "minutes": 57,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.0898,
                "dispossessed": 1.0224,
                "duels_lost": 4,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 43,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 19.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.73,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.596,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0542,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0062,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Abel Bretones": {
          "player_id": 1010165,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 188,
          "market_value": 3400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "rating": 6.3419,
            "minutes": 88,
            "total_pass": 31,
            "accurate_pass": 25,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 52,
            "possession_lost": 11.7926,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0295,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 48,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.67,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Alemão",
            "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,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 4.8,
                "assists": 0,
                "expected_assists": 0.0202,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 23,
                "tackles": 3,
                "tackles_won": 2,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0095,
                "expected_assists": 0.0027,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 1,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0241,
                "expected_assists": 0.0284,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.0637,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 4,
                "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": 3302,
            "combined_rank_score": 1257.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 530.0,
            "sofascore_rating": 6.8333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1985.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.3419,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abel Bretones",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ibrahim Mbaye",
                  "ranking": 3297
                },
                {
                  "player_name": "Unai Núñez",
                  "ranking": 3298
                },
                {
                  "player_name": "Rodrigo Muniz",
                  "ranking": 3299
                },
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                }
              ],
              "lower": [
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                },
                {
                  "player_name": "Kaiki",
                  "ranking": 3304
                },
                {
                  "player_name": "Mouctar Diakhaby",
                  "ranking": 3305
                },
                {
                  "player_name": "Diego Carlos",
                  "ranking": 3306
                },
                {
                  "player_name": "André Onana",
                  "ranking": 3307
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9827,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "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.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.4534,
                "minutes": 90,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 12.0,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 49,
                "progressive_carries": 2,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 4.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 24.6064,
                  "touches_p90": 51.6011,
                  "possessionLostCtrl": 11.7559,
                  "totalClearance": 1.2583,
                  "aerialWon": 1.2643
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.850196361541748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0351
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0306
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0147
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0129
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0174,
                      "total": 0.8502
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9215188026428223,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1656
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0981
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0987
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1033
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0864
                        }
                      ],
                      "others": 0.0141,
                      "total": 1.9215
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.2104370594024658,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1791
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0821
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0879
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0786
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0703
                        }
                      ],
                      "others": -0.0145,
                      "total": 1.2104
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4020514488220215,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.5227
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.2294
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2123
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1906
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1045
                        }
                      ],
                      "others": -0.1662,
                      "total": 2.4021
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9924836754798889,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.108
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0594
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0549
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0449
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.0472,
                      "total": 0.9925
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.453376770019531,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0688
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0404
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0315
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0307
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0236
                        }
                      ],
                      "others": -0.0143,
                      "total": 6.4534
                    }
                  }
                ],
                "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.9827, quality 0.442)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9827
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "wonTackle",
                  "before": 1.1895,
                  "after": 1.248
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalShots",
                  "before": 0.4914,
                  "after": 0.5043
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8355,
                  "after": 0.8474
                }
              ]
            },
            {
              "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": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67
              },
              "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": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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": "Alemão",
                  "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3302,
                "fifa_rank": 1985.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.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": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.3701,
                "squad_weight_total": 7.674,
                "weight_share": 0.0482,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.3419,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 11.7926,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0295,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 48,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.67,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0975,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0112,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Jorge Herrando": {
          "player_id": 944225,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 192,
          "market_value": 3200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "rating": 6.5587,
            "minutes": 61,
            "total_pass": 37,
            "accurate_pass": 31,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 0,
            "total_own_half_passes": 24,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 6.5498,
            "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,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 28,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.4762,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 68.5,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Alemão",
            "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,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 39,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 34,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.202,
                "expected_assists": 0.003,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 42,
                "accurate_pass": 33,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1616,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.5587,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge Herrando",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Piotr Parzyszek",
                  "ranking": 1611
                },
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Tsitaishvili",
                  "ranking": 1617
                },
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.459,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.459,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.982,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 185.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.97,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.14, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6791,
                "minutes": 62,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 46,
                "possession_lost": 6.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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 39.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 30.9981,
                  "touches_p90": 70.5762,
                  "possessionLostCtrl": 6.2381,
                  "totalClearance": 3.1322,
                  "aerialWon": 1.1234
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9231944680213928,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0477
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0386
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0234
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0173
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0213,
                      "total": 0.9232
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2821977138519287,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0745
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0569
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0467
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0292
                        }
                      ],
                      "others": 0.0192,
                      "total": 1.2822
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6401860117912292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0985
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0529
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0411
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0223
                        }
                      ],
                      "others": 0.0152,
                      "total": 0.6402
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.32896089553833,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4712
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4057
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1439
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1183
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1118
                        }
                      ],
                      "others": 0.1993,
                      "total": 4.329
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.256197214126587,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0691
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.066
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0568
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0401
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0282
                        }
                      ],
                      "others": -0.0339,
                      "total": 1.2562
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.679140090942383,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0515
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0185
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0181
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0154
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0149
                        }
                      ],
                      "others": 0.0308,
                      "total": 6.6791
                    }
                  }
                ],
                "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.9820, quality 0.440)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.982
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0569)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0569,
                "history_matches": 3,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0813
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0552
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9066,
                  "after": 0.9363
                },
                {
                  "stat": "totalShots",
                  "before": 0.6579,
                  "after": 0.6757
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6286,
                  "after": 0.6199
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "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": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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": "Alemão",
                  "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1616,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.5517,
                "squad_weight_total": 7.674,
                "weight_share": 0.0719,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.5587,
                "minutes": 61,
                "total_pass": 37,
                "accurate_pass": 31,
                "duels_won": 3,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.5498,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 28,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 68.5,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Alemão",
                "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,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0496,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0057,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Valentin Rosier": {
          "player_id": 842419,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 19,
          "height": 175,
          "market_value": 3100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 2,
            "duels_won": 5,
            "total_pass": 42,
            "accurate_pass": 33,
            "expected_goals": 0.0304,
            "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": 7,
            "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,
            "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": 1,
            "ball_carries": 19,
            "total_progression": 56,
            "progressive_carries": 4,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.486,
            "opponent_faced": "Jorge de Frutos",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 2941,
            "combined_rank_score": 980.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 726.0,
            "sofascore_rating": 6.6774,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1235.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Valentin Rosier",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tomáš Souček",
                  "ranking": 2936
                },
                {
                  "player_name": "Jean-Mattéo Bahoya",
                  "ranking": 2937
                },
                {
                  "player_name": "Íñigo Lekue",
                  "ranking": 2938
                },
                {
                  "player_name": "Fabio Luque Notaro",
                  "ranking": 2939
                },
                {
                  "player_name": "Stefan Aškovski",
                  "ranking": 2940
                }
              ],
              "lower": [
                {
                  "player_name": "Jefferson Lerma",
                  "ranking": 2942
                },
                {
                  "player_name": "Lorenzo Capicchioni",
                  "ranking": 2943
                },
                {
                  "player_name": "Gustav Isaksen",
                  "ranking": 2944
                },
                {
                  "player_name": "Sandro Wolfinger",
                  "ranking": 2945
                },
                {
                  "player_name": "Léyser Chaverra",
                  "ranking": 2946
                }
              ]
            }
          },
          "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.4387,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€3,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": 3,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "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": 7,
                "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,
                "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": 1,
                "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": 3,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.486,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jorge de Frutos",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0304,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.486,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.016,
                  "after": 0.0304
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0304,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.486,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2941,
                "fifa_rank": 1235.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0304,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.486,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.3388,
                "squad_weight_total": 7.674,
                "weight_share": 0.0442,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.0304,
                "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": 7,
                "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,
                "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": 1,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.486,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.3523,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0403,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Jon Moncayola": {
          "player_id": 976141,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 182,
          "market_value": 7300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0488,
            "assists": 0,
            "expected_goals": 0.0637,
            "rating": 6.7841,
            "minutes": 79,
            "total_pass": 35,
            "accurate_pass": 30,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 17,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 7.4781,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 24,
            "progressive_carries": 0,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.0,
            "minutesPct": 83.3,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.432,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pedro Díaz",
            "opponent_faced": "Pedro Díaz",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0169,
                "expected_assists": 0.0386,
                "total_shots": 1,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0096,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 2,
                "clearances": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0715,
                "expected_assists": 0.019,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 982,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 6.7841,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Moncayola",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Aldo",
                  "ranking": 977
                },
                {
                  "player_name": "Matheus Henrique",
                  "ranking": 978
                },
                {
                  "player_name": "Azizkhon Isokov",
                  "ranking": 979
                },
                {
                  "player_name": "Esteban Páez",
                  "ranking": 980
                },
                {
                  "player_name": "Krzysztof Piątek",
                  "ranking": 981
                }
              ],
              "lower": [
                {
                  "player_name": "Jahmali Waite",
                  "ranking": 983
                },
                {
                  "player_name": "Guillermo Viscarra",
                  "ranking": 984
                },
                {
                  "player_name": "Alexis Sánchez",
                  "ranking": 985
                },
                {
                  "player_name": "Jin-uk Jeong",
                  "ranking": 986
                },
                {
                  "player_name": "Cho Young-kwang",
                  "ranking": 987
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.525,
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.525,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 225.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.8,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.17, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.049,
                "assists": 0,
                "expected_goals": 0.0336,
                "rating": 6.804,
                "minutes": 79,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 2.2137,
                  "ballRecovery": 1.7602,
                  "intensity_index": 7.1043,
                  "expectedAssists": 0.0192,
                  "kilometersCovered": 10.0951
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7604209184646606,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0575
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0492
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0461
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0443
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0274
                        }
                      ],
                      "others": -0.1276,
                      "total": 0.7604
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.048974283039569855,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0153
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0091
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0059
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.003
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.008,
                      "total": 0.049
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07038428634405136,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0062
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.005
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0035
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0031
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.0704
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03357917070388794,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0297
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0088
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0054
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0336
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.803953170776367,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0271
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0255
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0235
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0156
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.0337,
                      "total": 6.804
                    }
                  }
                ],
                "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.9971, quality 0.490)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0335,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9971
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0602)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0335,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0602,
                "history_matches": 4,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0241
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0335,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "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.0488,
                "assists": 0,
                "expected_goals": 0.0335,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedro Díaz",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.432,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.8,
                  "after": 1.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0637,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0335,
                  "after": 0.0637
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 81.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0637,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 982,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0637,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.3746,
                "squad_weight_total": 7.674,
                "weight_share": 0.0488,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0488,
                "assists": 0,
                "expected_goals": 0.0637,
                "rating": 6.7841,
                "minutes": 79,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 7.4781,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 24,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedro Díaz",
                "opponent_faced": "Pedro Díaz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.1653,
                "squad_weight_total": 8.7354,
                "weight_share": 0.1334,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Aimar Oroz": {
          "player_id": 985329,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 6900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1037,
            "assists": 0,
            "expected_goals": 0.1366,
            "rating": 6.8412,
            "minutes": 50,
            "total_pass": 16,
            "accurate_pass": 13,
            "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": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 7.965,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 28,
            "progressive_carries": 2,
            "total_shots": 2,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 55.6,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.6,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.507,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Adrià Pedrosa",
            "opponent_faced": "Adrià Pedrosa",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0876,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.1317,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 15,
                "key_pass": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3320,
            "combined_rank_score": 1277.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1976.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 6.8412,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aimar Oroz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                },
                {
                  "player_name": "Tajon Buchanan",
                  "ranking": 3318
                },
                {
                  "player_name": "Dion Drena Beljo",
                  "ranking": 3319
                }
              ],
              "lower": [
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                },
                {
                  "player_name": "Williot Swedberg",
                  "ranking": 3324
                },
                {
                  "player_name": "Leandro Cabrera",
                  "ranking": 3325
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9956,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 150.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.2,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1042,
                "assists": 0,
                "expected_goals": 0.0721,
                "rating": 6.8713,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.0,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 29,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 13.1226,
                  "ballRecovery": 2.5462,
                  "intensity_index": 6.4336,
                  "expectedAssists": 0.0397,
                  "kilometersCovered": 6.1133
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9831206798553467,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0514
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0478
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0413
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0427
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0353
                        }
                      ],
                      "others": -0.1017,
                      "total": 0.9831
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10415926575660706,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0111
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0087
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0065
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.1042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09654798358678818,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.006
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0047
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0034
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0034
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0018,
                      "total": 0.0965
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07208634167909622,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0164
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0074
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0054
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0721
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.871268272399902,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0618
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0307
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0289
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0229
                        }
                      ],
                      "others": -0.0045,
                      "total": 6.8713
                    }
                  }
                ],
                "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.9956, quality 0.485)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.0718,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 6900000,
                "quality_factor": 0.4854,
                "boost_factor": 0.9956
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.0718,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1625
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0542
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.0718,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 1,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6
              },
              "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.1037,
                "assists": 0,
                "expected_goals": 0.0718,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.507,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrià Pedrosa",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.507,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.2,
                  "after": 2.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.1366,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.507,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0718,
                  "after": 0.1366
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 76.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.1366,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.507,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3320,
                "fifa_rank": 1976.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.1366,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.507,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.668,
                "squad_weight_total": 7.674,
                "weight_share": 0.0871,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1037,
                "assists": 0,
                "expected_goals": 0.1366,
                "rating": 6.8412,
                "minutes": 50,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 7.965,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 28,
                "progressive_carries": 2,
                "total_shots": 2,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 55.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.6,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.507,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.4419,
                "squad_weight_total": 8.7354,
                "weight_share": 0.1651,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Romain Del Castillo": {
          "player_id": 825681,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 6400000,
          "stats": {
            "key_pass": 2,
            "assists": 0,
            "expected_assists": 0.135,
            "expected_goals": 0.1656,
            "total_shots": 1,
            "total_pass": 51,
            "accurate_pass": 41,
            "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.058,
            "ball_carries": 29,
            "total_progression": 78,
            "progressive_carries": 7,
            "opponent_faced": "Giorgi Tsitaishvili",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            }
          ],
          "ranking": {
            "global_player_rank": 3024,
            "combined_rank_score": 1002.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1827.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Romain Del Castillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Antonee Burke-Gilroy",
                  "ranking": 3019
                },
                {
                  "player_name": "Kim Min-Joon",
                  "ranking": 3020
                },
                {
                  "player_name": "Jasir Asani",
                  "ranking": 3021
                },
                {
                  "player_name": "Robert Andrich",
                  "ranking": 3022
                },
                {
                  "player_name": "Stav Torial",
                  "ranking": 3023
                }
              ],
              "lower": [
                {
                  "player_name": "Alberto Riccardi",
                  "ranking": 3025
                },
                {
                  "player_name": "Dong-geon No",
                  "ranking": 3026
                },
                {
                  "player_name": "Alexander Pastene",
                  "ranking": 3027
                },
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                }
              ]
            }
          },
          "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.4793,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€6,400,000) applied for position M (quality factor 0.48)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.48)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.087,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.087,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "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,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.087,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7,
                "opponent_faced": "Giorgi Tsitaishvili",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giorgi Tsitaishvili",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.1656,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7,
                "opponent_faced": "Giorgi Tsitaishvili",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.087,
                  "after": 0.1656
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 76.0)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.1656,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7,
                "opponent_faced": "Giorgi Tsitaishvili",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3024,
                "fifa_rank": 1827.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.1656,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7,
                "opponent_faced": "Giorgi Tsitaishvili",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 1.1333,
                "squad_weight_total": 7.674,
                "weight_share": 0.1477,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.135,
                "expected_goals": 0.1656,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 41,
                "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.058,
                "ball_carries": 29,
                "total_progression": 78,
                "progressive_carries": 7,
                "opponent_faced": "Giorgi Tsitaishvili",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 2.3784,
                "squad_weight_total": 8.7354,
                "weight_share": 0.2723,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Jonathan Dubasin": {
          "player_id": 1094517,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 180,
          "market_value": 4300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0597,
            "assists": 0,
            "expected_goals": 0.1062,
            "rating": 6.7039,
            "minutes": 35,
            "total_pass": 14,
            "accurate_pass": 11,
            "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": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 22,
            "possession_lost": 6.1629,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.7692,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.0,
            "minutesPct": 41.9,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.511,
            "pressing_faced": "LOW",
            "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Isi Palazón",
            "opponent_faced": "Isi Palazón",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0262,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.4988,
                "expected_assists": 0.0232,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0913,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 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": 2777,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1404.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.7039,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Dubasin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edson Carioca",
                  "ranking": 2772
                },
                {
                  "player_name": "André Luis",
                  "ranking": 2773
                },
                {
                  "player_name": "Antonio Galeano",
                  "ranking": 2774
                },
                {
                  "player_name": "Franco Cáceres",
                  "ranking": 2775
                },
                {
                  "player_name": "Edvin Muratović",
                  "ranking": 2776
                }
              ],
              "lower": [
                {
                  "player_name": "Gorka Carrera Zarranz",
                  "ranking": 2778
                },
                {
                  "player_name": "Germán Cano",
                  "ranking": 2779
                },
                {
                  "player_name": "Javokhir Jorayev",
                  "ranking": 2780
                },
                {
                  "player_name": "Sayfiddin Sodikov",
                  "ranking": 2781
                },
                {
                  "player_name": "Gabriel Sloane-Rodrigues",
                  "ranking": 2782
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.513,
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.513,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9861,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 113.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.59,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.09, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0606,
                "assists": 0,
                "expected_goals": 0.0566,
                "rating": 6.7987,
                "minutes": 36,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.25,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 5.0723,
                  "ballRecovery": 2.3748,
                  "intensity_index": 5.3954,
                  "expectedAssists": 0.0351,
                  "kilometersCovered": 4.6015
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7557268738746643,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0593
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0453
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0384
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0314
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.1087,
                      "total": 0.7557
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06058046966791153,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0097
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0094
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0094
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0606
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09109222143888474,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0049
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0043
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0044
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0911
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05661797523498535,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0198
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0057
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0566
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.798661708831787,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0218
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0217
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0206
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0181
                        }
                      ],
                      "others": -0.0538,
                      "total": 6.7987
                    }
                  }
                ],
                "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.9861, quality 0.454)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.0558,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9861
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0313)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.0558,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0313,
                "history_matches": 4,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.025
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.0558,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "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.0597,
                "assists": 0,
                "expected_goals": 0.0558,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isi Palazón",
                  "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                  "duel_win_rate": 0.511,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.59,
                  "after": 2.5
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.1062,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0558,
                  "after": 0.1062
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 77.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.1062,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2777,
                "fifa_rank": 1404.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.1062,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.5735,
                "squad_weight_total": 7.674,
                "weight_share": 0.0747,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0597,
                "assists": 0,
                "expected_goals": 0.1062,
                "rating": 6.7039,
                "minutes": 35,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.1629,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.7692,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.0,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isi Palazón",
                "opponent_faced": "Isi Palazón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.1883,
                "squad_weight_total": 8.7354,
                "weight_share": 0.136,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Raúl Moro": {
          "player_id": 980383,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 169,
          "market_value": 3300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1027,
            "assists": 0,
            "expected_goals": 0.1597,
            "rating": 6.7774,
            "minutes": 24,
            "total_pass": 7,
            "accurate_pass": 6,
            "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": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 4.4206,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 48,
            "progressive_carries": 1,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 7.0,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.9,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.354,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Andrei Rațiu",
            "opponent_faced": "Andrei Rațiu",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 30,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.3168,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 18,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 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": 3622,
            "combined_rank_score": 1589.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 772.0,
            "sofascore_rating": 6.6429,
            "sofascore_appearances": 14.0,
            "fifa_rank": 2407.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.7774,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl Moro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lukáš Červ",
                  "ranking": 3617
                },
                {
                  "player_name": "Joe Scally",
                  "ranking": 3618
                },
                {
                  "player_name": "Petros Mantalos",
                  "ranking": 3619
                },
                {
                  "player_name": "Rodinei",
                  "ranking": 3620
                },
                {
                  "player_name": "David Jurásek",
                  "ranking": 3621
                }
              ],
              "lower": [
                {
                  "player_name": "Ilias Akhomach",
                  "ranking": 3623
                },
                {
                  "player_name": "Andrija Živković",
                  "ranking": 3624
                },
                {
                  "player_name": "Maffeo",
                  "ranking": 3625
                },
                {
                  "player_name": "Harold Moukoudi",
                  "ranking": 3626
                },
                {
                  "player_name": "Davide Calabria",
                  "ranking": 3627
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.377,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.377,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9823,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 19.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "XGBoost regressor (M_service) evaluated 2 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.01, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1046,
                "assists": 0,
                "expected_goals": 0.0854,
                "rating": 6.8992,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 49,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 3.2432,
                  "ballRecovery": 1.0811,
                  "intensity_index": 3.6412,
                  "expectedAssists": 0.1716,
                  "kilometersCovered": 3.0384
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.072997808456421,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0806
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0671
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0652
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0546
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0437
                        }
                      ],
                      "others": -0.0731,
                      "total": 1.073
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10456498712301254,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0142
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0097
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0086
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0088
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.1046
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0880611389875412,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0124
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0076
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0071
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0881
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0854145810008049,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0197
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0114
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0097
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0055
                        }
                      ],
                      "others": 0.0064,
                      "total": 0.0854
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.899157524108887,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0283
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0259
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0223
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0217
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0198
                        }
                      ],
                      "others": -0.006,
                      "total": 6.8992
                    }
                  }
                ],
                "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": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.0839,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1
              },
              "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.0062)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.0839,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 2,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.0839,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.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": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.0839,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Andrei Rațiu",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.354,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.0,
                  "after": 1.6
                },
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.1597,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0839,
                  "after": 0.1597
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.1597,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3622,
                "fifa_rank": 2407.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.1597,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.7303,
                "squad_weight_total": 7.674,
                "weight_share": 0.0952,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1027,
                "assists": 0,
                "expected_goals": 0.1597,
                "rating": 6.7774,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4206,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 48,
                "progressive_carries": 1,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 7.0,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.4147,
                "squad_weight_total": 8.7354,
                "weight_share": 0.162,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Raúl García de Haro": {
          "player_id": 997280,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 192,
          "market_value": 3100000,
          "stats": {
            "expected_goals": 0.2205,
            "goal_rate": 0.1794,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0289,
            "key_pass": 1,
            "rating": 6.5792,
            "minutes": 51,
            "total_pass": 12,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 5.3988,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 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": 5,
            "total_progression": 25,
            "progressive_carries": 1,
            "total_shots": 2,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.212,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
            "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0166,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "tackles": 1,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.2064,
                "expected_assists": 0.0,
                "total_shots": 2,
                "total_pass": 7,
                "accurate_pass": 5,
                "aerial_won": 2,
                "duels_won": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 6.7,
                "assists": 1,
                "expected_goals": 0.1065,
                "expected_assists": 0.0452,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 18,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0376,
                "expected_assists": 0.0014,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1521,
            "combined_rank_score": 651.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 680.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "projected_match_rating": 6.5792,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl García de Haro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dimitris Kourbelis",
                  "ranking": 1516
                },
                {
                  "player_name": "Park Dae-Hoon",
                  "ranking": 1517
                },
                {
                  "player_name": "Shun Kudo",
                  "ranking": 1518
                },
                {
                  "player_name": "Guy Mizrahi",
                  "ranking": 1519
                },
                {
                  "player_name": "Diyorjon Turapov",
                  "ranking": 1520
                }
              ],
              "lower": [
                {
                  "player_name": "Ganso",
                  "ranking": 1522
                },
                {
                  "player_name": "Jorge Carrascal",
                  "ranking": 1523
                },
                {
                  "player_name": "Jefferson Brenes",
                  "ranking": 1524
                },
                {
                  "player_name": "Paolo Guerrero",
                  "ranking": 1525
                },
                {
                  "player_name": "Alexander Callens",
                  "ranking": 1526
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9816,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1705,
                "goal_rate": 0.1827,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0295,
                "key_pass": 1,
                "rating": 6.7025,
                "minutes": 52,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.5,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 26,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.4535,
                  "totalShots": 1.4064,
                  "minutesPlayed": 55.3718,
                  "touches": 19.8908,
                  "dribbleValueNormalized": 0.0749
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17053309082984924,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0354
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0283
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0237
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.016
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0139
                        }
                      ],
                      "others": -0.0765,
                      "total": 0.1705
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18274720013141632,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0629
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0373
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0147
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0148
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0778,
                      "total": 0.1827
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5201007723808289,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0425
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0317
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0161
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0109
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0096
                        }
                      ],
                      "others": -0.0846,
                      "total": 0.5201
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.029485585168004036,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0107
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0295
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6046636700630188,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0678
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0293
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.026
                        }
                      ],
                      "others": -0.0459,
                      "total": 0.6047
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.70247220993042,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0532
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0373
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.027
                        }
                      ],
                      "others": 0.0423,
                      "total": 6.7025
                    }
                  }
                ],
                "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": {
                "expected_goals": 0.1674,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 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": {
                "expected_goals": 0.1674,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 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.1159,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.212,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
                "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.212,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.1159
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.1674,
                  "after": 0.1159
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "expected_goals": 0.2205,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.212,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
                "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1159,
                  "after": 0.2205
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.2205,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.212,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
                "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1521,
                "fifa_rank": 680.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.2205,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.212,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
                "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 2.7743,
                "squad_weight_total": 7.674,
                "weight_share": 0.3615,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.2205,
                "goal_rate": 0.1794,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0289,
                "key_pass": 1,
                "rating": 6.5792,
                "minutes": 51,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 5.3988,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.212,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marash Kumbulla, Mujaid Sadick",
                "opponent_faced": "Marash Kumbulla, Mujaid Sadick",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.5931,
                "squad_weight_total": 8.7354,
                "weight_share": 0.0679,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Aitor Fernández": {
          "player_id": 99516,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 182,
          "market_value": 465000,
          "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.351,
            "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": 77.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 2135,
            "combined_rank_score": 806.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 68.0,
            "sofascore_rating": 7.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1544.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                },
                {
                  "player_name": "Nosirzhon Abdusalomov",
                  "ranking": 2132
                },
                {
                  "player_name": "Tomás Ariel Silva",
                  "ranking": 2133
                },
                {
                  "player_name": "Tjay De Barr",
                  "ranking": 2134
                }
              ],
              "lower": [
                {
                  "player_name": "Franco Bechtholdt",
                  "ranking": 2136
                },
                {
                  "player_name": "Lutsharel Geertruida",
                  "ranking": 2137
                },
                {
                  "player_name": "Vlatko Stojanovski",
                  "ranking": 2138
                },
                {
                  "player_name": "Islom Tukhtakhuzhaev",
                  "ranking": 2139
                },
                {
                  "player_name": "Juan Figueroa",
                  "ranking": 2140
                }
              ]
            }
          },
          "data_sources": [
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection from market-value prior (€465,000) scaled to 4.4 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 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": 465000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "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": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "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 (match squad rank 18, fifa_overall 77.0)",
              "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.351,
                "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": 77.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2135,
                "fifa_rank": 1544.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Alejandro Catena": {
          "player_id": 900792,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 194,
          "market_value": 2700000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.7058,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 1.5537,
            "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,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.003,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 13,
            "progressive_carries": 0,
            "key_pass": 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.351,
            "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": 85.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 5.3,
                "assists": 0,
                "expected_assists": 0.0184,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 44,
                "clearances": 6,
                "aerial_won": 4,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0095,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 2,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assists": 0,
                "expected_assists": 0.0225,
                "total_shots": 0,
                "total_pass": 90,
                "accurate_pass": 83,
                "interceptions": 3,
                "clearances": 5,
                "duels_won": 1,
                "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"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assists": 0,
                "expected_assists": 0.0324,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 48,
                "key_pass": 1,
                "clearances": 9,
                "aerial_won": 4,
                "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": 145,
            "combined_rank_score": 147.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 132.0,
            "sofascore_rating": 7.3667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 162.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "projected_match_rating": 6.7058,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Catena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sang-Min Koo",
                  "ranking": 140
                },
                {
                  "player_name": "Gianluigi Donnarumma",
                  "ranking": 141
                },
                {
                  "player_name": "Samuel Lino",
                  "ranking": 142
                },
                {
                  "player_name": "Joško Gvardiol",
                  "ranking": 143
                },
                {
                  "player_name": "Victor Osimhen",
                  "ranking": 144
                }
              ],
              "lower": [
                {
                  "player_name": "Mashkhur Mukhammadzhonov",
                  "ranking": 146
                },
                {
                  "player_name": "Esteban Kirkman",
                  "ranking": 147
                },
                {
                  "player_name": "Kipras Kazukolovas",
                  "ranking": 148
                },
                {
                  "player_name": "Fabián Mina",
                  "ranking": 149
                },
                {
                  "player_name": "Jonathan Tah",
                  "ranking": 150
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "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 (4 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8341,
                "minutes": 90,
                "total_pass": 64,
                "accurate_pass": 55,
                "duels_won": 4,
                "total_long_balls": 13,
                "accurate_long_balls": 6,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 36,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 10.5,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.02,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 26,
                "total_progression": 89,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 54.1468,
                  "touches_p90": 73.1334,
                  "possessionLostCtrl": 10.2032,
                  "totalClearance": 5.818,
                  "aerialWon": 2.5596
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7556915283203125,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2083
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0218
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0206
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0129
                        }
                      ],
                      "others": -0.0167,
                      "total": 0.7557
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2449034452438354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": -0.0807
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0422
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0416
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.038
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.0392,
                      "total": 1.2449
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6538140773773193,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1462
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0769
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0254
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0247
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0235
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.6538
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.0640523433685303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.5071
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.4298
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1542
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1032
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0994
                        }
                      ],
                      "others": 0.3814,
                      "total": 3.0641
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.061362624168396,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.403
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0589
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0501
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0512
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0354
                        }
                      ],
                      "others": 0.0267,
                      "total": 1.0614
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.834096431732178,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0388
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0374
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0274
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0273
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0221
                        }
                      ],
                      "others": 0.0932,
                      "total": 6.8341
                    }
                  }
                ],
                "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,
                "rating": 6.7058,
                "minutes": 88,
                "total_pass": 63,
                "accurate_pass": 54,
                "duels_won": 3,
                "total_long_balls": 13,
                "accurate_long_balls": 6,
                "total_own_half_passes": 36,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 74,
                "possession_lost": 10.3029,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 26,
                "total_progression": 87,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "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,
                "rating": 6.7058,
                "minutes": 14,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.5537,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "key_pass": 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,
                "rating": 6.7058,
                "minutes": 14,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.5537,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "key_pass": 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 (match squad rank 11, fifa_overall 85.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.7058,
                "minutes": 14,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 1.5537,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 13,
                "progressive_carries": 0,
                "key_pass": 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.351,
                "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": 85.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 145,
                "fifa_rank": 162.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 85.0
              }
            }
          ]
        },
        "Asier Osambela": {
          "player_id": 1399702,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 29,
          "height": 186,
          "market_value": 1000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.4116,
            "minutes": 14,
            "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.8878,
            "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,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0015,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 11,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 33.3,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 1.0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0233,
                "expected_assists": 0.0011,
                "total_shots": 1,
                "total_pass": 3,
                "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"
            },
            {
              "match_id": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 64,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 998,
            "combined_rank_score": 607.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 770.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.4116,
            "source_file": "data/player_rankings.csv",
            "player_name": "Asier Osambela",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bradley Lyons",
                  "ranking": 993
                },
                {
                  "player_name": "Dario Šarić",
                  "ranking": 994
                },
                {
                  "player_name": "José Ángel Carmona",
                  "ranking": 995
                },
                {
                  "player_name": "José Luis Gayà",
                  "ranking": 996
                },
                {
                  "player_name": "Rafael Bauzà",
                  "ranking": 997
                }
              ],
              "lower": [
                {
                  "player_name": "Nurbek Sarsenbaev",
                  "ranking": 999
                },
                {
                  "player_name": "Diyorbek Mamataliev",
                  "ranking": 1000
                },
                {
                  "player_name": "Vicente Villegas",
                  "ranking": 1001
                },
                {
                  "player_name": "Dennis Hadžikadunić",
                  "ranking": 1002
                },
                {
                  "player_name": "Nodar Lominadze",
                  "ranking": 1003
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.385,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.385,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 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 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.5343,
                "minutes": 51,
                "total_pass": 38,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 6.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 73,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 30.4865,
                  "touches_p90": 55.7297,
                  "possessionLostCtrl": 5.5946,
                  "totalClearance": 3.2162,
                  "aerialWon": 0.9189
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6527697443962097,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2169
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0279
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0199
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0178
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0127
                        }
                      ],
                      "others": -0.028,
                      "total": 0.6528
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1456165313720703,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0698
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0588
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0514
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0405
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0362
                        }
                      ],
                      "others": 0.047,
                      "total": 1.1456
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5120837688446045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1399
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1173
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0477
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0299
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0247
                        }
                      ],
                      "others": 0.0041,
                      "total": 0.5121
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.378204107284546,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.7147
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1346
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0567
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0583
                        }
                      ],
                      "others": -0.0875,
                      "total": 1.3782
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.818996787071228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3584
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0607
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0397
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0258
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.0378,
                      "total": 0.819
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.53429651260376,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0738
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0457
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0432
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0218
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0201
                        }
                      ],
                      "others": -0.0076,
                      "total": 6.5343
                    }
                  }
                ],
                "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": 1,
                "aerial_won": 1,
                "rating": 6.4116,
                "minutes": 50,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 5.8874,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 72,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0310)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.4116,
                "minutes": 50,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 5.8874,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 72,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0
              },
              "params": {
                "blend_weight": 0.031,
                "history_matches": 2,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.9625,
                  "after": 1.9946
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5025,
                  "after": 0.4869
                },
                {
                  "stat": "totalShots",
                  "before": 0.4906,
                  "after": 0.4754
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6405,
                  "after": 0.6516
                }
              ]
            },
            {
              "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,
                "rating": 6.4116,
                "minutes": 14,
                "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.8878,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 11,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "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,
                "rating": 6.4116,
                "minutes": 14,
                "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.8878,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 11,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.4116,
                "minutes": 14,
                "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.8878,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 11,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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": 80.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 998,
                "fifa_rank": 770.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Lucas Torró": {
          "player_id": 187313,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0058,
            "assists": 0,
            "expected_goals": 0.0101,
            "rating": 6.6497,
            "minutes": 18,
            "total_pass": 5,
            "accurate_pass": 4,
            "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": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 0.9236,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 2,
            "progressive_carries": 0,
            "total_shots": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 44.4,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.75,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 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": 3360,
            "combined_rank_score": 1309.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 665.0,
            "sofascore_rating": 6.7281,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1953.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.6497,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Torró",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Soufiane Rahimi",
                  "ranking": 3355
                },
                {
                  "player_name": "Héctor Bellerín",
                  "ranking": 3356
                },
                {
                  "player_name": "Lucas Perri",
                  "ranking": 3357
                },
                {
                  "player_name": "Billy Gilmour",
                  "ranking": 3358
                },
                {
                  "player_name": "Bernardo",
                  "ranking": 3359
                }
              ],
              "lower": [
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                },
                {
                  "player_name": "Nikola Moro",
                  "ranking": 3362
                },
                {
                  "player_name": "Ayden Heaven",
                  "ranking": 3363
                },
                {
                  "player_name": "Aron Dønnum",
                  "ranking": 3364
                },
                {
                  "player_name": "Iñaki Peña",
                  "ranking": 3365
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.564,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 18.1 expected mins (appearance prob 0.56); FBref playing time empirical prior: 2.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0295,
                "assists": 0,
                "expected_goals": 0.0267,
                "rating": 6.7769,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 4.67,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 9.3479,
                  "ballRecovery": 3.5374,
                  "intensity_index": 2.02,
                  "expectedAssists": 0.0071,
                  "kilometersCovered": 5.6318
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5025472044944763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2087
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0719
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.05
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0279
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0864,
                      "total": 0.5025
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02951565384864807,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.019
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0117
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0196,
                      "total": 0.0295
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06824973225593567,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0056
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0045
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0682
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.026668120175600052,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.016
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0091
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0068
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0267
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.776942729949951,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0583
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.019
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0172
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0149
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0145
                        }
                      ],
                      "others": 0.0012,
                      "total": 6.7769
                    }
                  }
                ],
                "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": 0,
                "expected_assists": 0.029,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.6497,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 4.5823,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.029,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.6497,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 4.5823,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.1 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0053,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0053,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0101,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0101,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3360,
                "fifa_rank": 1953.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Iker Muñoz": {
          "player_id": 1119586,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 179,
          "market_value": 1800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0239,
            "assists": 0,
            "expected_goals": 0.0104,
            "rating": 6.7077,
            "minutes": 35,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 3.7766,
            "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": 1,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 22,
            "progressive_carries": 0,
            "total_shots": 0,
            "offsides": 0,
            "yellowCards": 0.4348,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 75.9,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.32,
            "bench_appearance_probability": 0.435,
            "bench_expected_minutes": 34.64,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0204,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 58,
                "interceptions": 4,
                "clearances": 2,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0362,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 23,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0108,
                "total_shots": 1,
                "total_pass": 33,
                "accurate_pass": 30,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0204,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4072,
            "combined_rank_score": 2051.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3525.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.7077,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iker Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ondrej Duda",
                  "ranking": 4067
                },
                {
                  "player_name": "Caleb Yirenkyi",
                  "ranking": 4068
                },
                {
                  "player_name": "Gabriel Ávalos",
                  "ranking": 4069
                },
                {
                  "player_name": "Cecilio Domínguez",
                  "ranking": 4070
                },
                {
                  "player_name": "Álvaro Montero",
                  "ranking": 4071
                }
              ],
              "lower": [
                {
                  "player_name": "Elvis Rexhbeçaj",
                  "ranking": 4073
                },
                {
                  "player_name": "Aarón Anselmino",
                  "ranking": 4074
                },
                {
                  "player_name": "Miguel Ángel Merentiel",
                  "ranking": 4075
                },
                {
                  "player_name": "Gastón Martirena",
                  "ranking": 4076
                },
                {
                  "player_name": "Adam Armstrong",
                  "ranking": 4077
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.523,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.523,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.64,
            "bench_appearance_prob": 0.435,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 34.6 expected mins (appearance prob 0.43); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0632,
                "assists": 0,
                "expected_goals": 0.0276,
                "rating": 6.836,
                "minutes": 74,
                "total_pass": 44,
                "accurate_pass": 37,
                "duels_won": 3,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 10.0,
                "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": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 59,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 1.829,
                  "ballRecovery": 1.4595,
                  "intensity_index": 4.256,
                  "expectedAssists": 0.0224,
                  "kilometersCovered": 8.7909
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7050690650939941,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1909
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0549
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0389
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0187
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0257,
                      "total": 0.7051
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06321226805448532,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0174
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0085
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0052
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0045
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0632
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0762164294719696,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0065
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0036
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0026
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0023
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0762
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0276138074696064,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0298
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0194
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.008
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.0276
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.836033344268799,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0545
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0244
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0166
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0152
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0146
                        }
                      ],
                      "others": 0.0211,
                      "total": 6.836
                    }
                  }
                ],
                "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.062,
                "assists": 0,
                "expected_goals": 0.0271,
                "rating": 6.7077,
                "minutes": 73,
                "total_pass": 43,
                "accurate_pass": 36,
                "duels_won": 3,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 17,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 9.8123,
                "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": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0554)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.062,
                "assists": 0,
                "expected_goals": 0.0271,
                "rating": 6.7077,
                "minutes": 73,
                "total_pass": 43,
                "accurate_pass": 36,
                "duels_won": 3,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 17,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 9.8123,
                "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": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.4348,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.32
              },
              "params": {
                "blend_weight": 0.0554,
                "history_matches": 4,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "fouls",
                  "before": 1.9625,
                  "after": 1.9742
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 34.6 expected minutes (appearance prob 0.43)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0239,
                "assists": 0,
                "expected_goals": 0.0104,
                "rating": 6.7077,
                "minutes": 35,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 3.7766,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 22,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.4348,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.32,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 34.64
              },
              "params": {
                "expected_minutes": 34.64,
                "appearance_probability": 0.435
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0239,
                "assists": 0,
                "expected_goals": 0.0104,
                "rating": 6.7077,
                "minutes": 35,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 3.7766,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 22,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.4348,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.32,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 34.64
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0239,
                "assists": 0,
                "expected_goals": 0.0104,
                "rating": 6.7077,
                "minutes": 35,
                "total_pass": 17,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 3.7766,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 22,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.4348,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.32,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 34.64,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4072,
                "fifa_rank": 3525.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Ante Budimir": {
          "player_id": 37318,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 190,
          "market_value": 2600000,
          "stats": {
            "expected_goals": 0.2023,
            "goal_rate": 0.234,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0073,
            "key_pass": 0,
            "rating": 7.235,
            "minutes": 30,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 3.2195,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3059,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 1,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 55.6,
            "shotConversion": 0.22,
            "minutesPct": 74.8,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.89,
            "bench_appearance_probability": 0.462,
            "bench_expected_minutes": 29.53,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 1.6134,
                "expected_assists": 0.0091,
                "total_shots": 6,
                "shots_on_target": 5,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 14,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0584,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 1.4479,
                "expected_assists": 0.0011,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 2,
                "accurate_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.2557,
                "expected_assists": 0.0,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 6,
                "duels_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 610,
            "combined_rank_score": 313.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 410.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 7.235,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ante Budimir",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nemanja Ćalasan",
                  "ranking": 605
                },
                {
                  "player_name": "Sardorbek Bakhromov",
                  "ranking": 606
                },
                {
                  "player_name": "Alfonso Parot",
                  "ranking": 607
                },
                {
                  "player_name": "Vangelis Pavlidis",
                  "ranking": 608
                },
                {
                  "player_name": "Gavi",
                  "ranking": 609
                }
              ],
              "lower": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.522,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.522,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.53,
            "bench_appearance_prob": 0.462,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.9090909090909092,
              "assists_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 29.5 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.3302,
                "goal_rate": 0.7157,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 7.3734,
                "minutes": 73,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.0,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.95,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 2.6747,
                  "totalShots": 3.8274,
                  "minutesPlayed": 74.9225,
                  "touches": 26.5066,
                  "dribbleValueNormalized": 0.2251
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.33019179105758667,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0859
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0692
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0327
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0317
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0253
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.3302
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.7157076001167297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2105
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1695
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0633
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0393
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0366
                        }
                      ],
                      "others": 0.0562,
                      "total": 0.7157
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8951022028923035,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0881
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0841
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0783
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0478
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0449
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.8951
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022567305713891983,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0049
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.0226
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4265073537826538,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1682
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0299
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0263
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.038,
                      "total": 0.4265
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.373398303985596,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1564
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0995
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0613
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0602
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0592
                        }
                      ],
                      "others": 0.2232,
                      "total": 7.3734
                    }
                  }
                ],
                "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.324,
                "goal_rate": 0.7023,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0221,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 72,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 9.8123,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.9322,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0530)",
              "stats": {
                "expected_goals": 0.324,
                "goal_rate": 0.7133,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0221,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 72,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 9.8123,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.9322,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89
              },
              "params": {
                "blend_weight": 0.053,
                "history_matches": 4,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8783,
                  "after": 0.9499
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9812,
                  "after": 1.0015
                },
                {
                  "stat": "wasFouled",
                  "before": 2.4531,
                  "after": 2.4676
                },
                {
                  "stat": "goals",
                  "before": 0.7023,
                  "after": 0.7133
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.5 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.1063,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "expected_minutes": 29.53,
                "appearance_probability": 0.462
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1063,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "expected_goals": 0.2023,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1063,
                  "after": 0.2023
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.2023,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 610,
                "fifa_rank": 410.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Kike Barja": {
          "player_id": 591132,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 178,
          "market_value": 1500000,
          "stats": {
            "expected_goals": 0.0299,
            "goal_rate": 0.0254,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0067,
            "key_pass": 0,
            "rating": 6.6356,
            "minutes": 16,
            "total_pass": 2,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "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,
            "assists": 0,
            "shots_off_target": 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,
            "total_shots": 1,
            "yellowCards": 2.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 33.7,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.99,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 16.33,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.061,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 74,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7114,
                "expected_assists": 0.2789,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 24,
                "key_pass": 2,
                "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"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 3,
                "assists": 0,
                "expected_assists": 0.0006,
                "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": 3935,
            "combined_rank_score": 1918.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3501.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.6356,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kike Barja",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adrián Bernabé",
                  "ranking": 3930
                },
                {
                  "player_name": "Kevin Castaño",
                  "ranking": 3931
                },
                {
                  "player_name": "Ardon Jashari",
                  "ranking": 3932
                },
                {
                  "player_name": "Maduka Okoye",
                  "ranking": 3933
                },
                {
                  "player_name": "João Mário",
                  "ranking": 3934
                }
              ],
              "lower": [
                {
                  "player_name": "Giovanni Reyna",
                  "ranking": 3936
                },
                {
                  "player_name": "Nicolò Fagioli",
                  "ranking": 3937
                },
                {
                  "player_name": "Portu",
                  "ranking": 3938
                },
                {
                  "player_name": "Saúl Coco",
                  "ranking": 3939
                },
                {
                  "player_name": "Jonathan Rowe",
                  "ranking": 3940
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.448,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.448,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 16.33,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 9.0,
              "goals_per90": 1.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 16.3 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 9.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0884,
                "goal_rate": 0.1184,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0377,
                "key_pass": 0,
                "rating": 6.7625,
                "minutes": 30,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 1.0496,
                  "minutesPlayed": 30.3469,
                  "touches": 17.1127,
                  "dribbleValueNormalized": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08837081491947174,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0459
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0478,
                      "total": 0.0884
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11843229830265045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0667
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0441
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0339
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0283
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0443,
                      "total": 0.1184
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5147631168365479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0491
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0343
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0307
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0137
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0391,
                      "total": 0.5148
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03765864670276642,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0107
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0028
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0377
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.42273765802383423,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1847
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0244
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0217
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0209
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.4227
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.762533664703369,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0446
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0372
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0311
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0264
                        }
                      ],
                      "others": 0.0993,
                      "total": 6.7625
                    }
                  }
                ],
                "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.0867,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.037,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 29,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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
              },
              "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.0271)",
              "stats": {
                "expected_goals": 0.0867,
                "goal_rate": 0.1401,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.037,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 29,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 3,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 3,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1355
                },
                {
                  "stat": "fouls",
                  "before": 0.9812,
                  "after": 1.0359
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.1162,
                  "after": 0.1401
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5051,
                  "after": 0.5182
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 16.3 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0157,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33
              },
              "params": {
                "expected_minutes": 16.33,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0157,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33
              },
              "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "expected_goals": 0.0299,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0157,
                  "after": 0.0299
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 73.0)",
              "stats": {
                "expected_goals": 0.0299,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3935,
                "fifa_rank": 3501.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Kike Barja": {
          "player_id": 591132,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 178,
          "market_value": 1500000,
          "stats": {
            "expected_goals": 0.0299,
            "goal_rate": 0.0254,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0067,
            "key_pass": 0,
            "rating": 6.6356,
            "minutes": 16,
            "total_pass": 2,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "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,
            "assists": 0,
            "shots_off_target": 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,
            "total_shots": 1,
            "yellowCards": 2.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 33.7,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.99,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 16.33,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.061,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 74,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7114,
                "expected_assists": 0.2789,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 24,
                "key_pass": 2,
                "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"
            },
            {
              "match_id": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 3,
                "assists": 0,
                "expected_assists": 0.0006,
                "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": 3935,
            "combined_rank_score": 1918.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3501.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.6356,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kike Barja",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adrián Bernabé",
                  "ranking": 3930
                },
                {
                  "player_name": "Kevin Castaño",
                  "ranking": 3931
                },
                {
                  "player_name": "Ardon Jashari",
                  "ranking": 3932
                },
                {
                  "player_name": "Maduka Okoye",
                  "ranking": 3933
                },
                {
                  "player_name": "João Mário",
                  "ranking": 3934
                }
              ],
              "lower": [
                {
                  "player_name": "Giovanni Reyna",
                  "ranking": 3936
                },
                {
                  "player_name": "Nicolò Fagioli",
                  "ranking": 3937
                },
                {
                  "player_name": "Portu",
                  "ranking": 3938
                },
                {
                  "player_name": "Saúl Coco",
                  "ranking": 3939
                },
                {
                  "player_name": "Jonathan Rowe",
                  "ranking": 3940
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.448,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.448,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 16.33,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 9.0,
              "goals_per90": 1.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 16.3 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 9.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0884,
                "goal_rate": 0.1184,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0377,
                "key_pass": 0,
                "rating": 6.7625,
                "minutes": 30,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 1.0496,
                  "minutesPlayed": 30.3469,
                  "touches": 17.1127,
                  "dribbleValueNormalized": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08837081491947174,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0459
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0478,
                      "total": 0.0884
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11843229830265045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0667
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0441
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0339
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0283
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0443,
                      "total": 0.1184
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5147631168365479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0491
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0343
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0307
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0137
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0391,
                      "total": 0.5148
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03765864670276642,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0107
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0028
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0377
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.42273765802383423,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1847
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0244
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0217
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0209
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.4227
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.762533664703369,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0446
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0372
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0311
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0264
                        }
                      ],
                      "others": 0.0993,
                      "total": 6.7625
                    }
                  }
                ],
                "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.0867,
                "goal_rate": 0.1162,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.037,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 29,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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
              },
              "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.0271)",
              "stats": {
                "expected_goals": 0.0867,
                "goal_rate": 0.1401,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.037,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 29,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 3,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 3,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1355
                },
                {
                  "stat": "fouls",
                  "before": 0.9812,
                  "after": 1.0359
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.1162,
                  "after": 0.1401
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5051,
                  "after": 0.5182
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 16.3 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0157,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33
              },
              "params": {
                "expected_minutes": 16.33,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0157,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33
              },
              "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "expected_goals": 0.0299,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0157,
                  "after": 0.0299
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 73.0)",
              "stats": {
                "expected_goals": 0.0299,
                "goal_rate": 0.0254,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0067,
                "key_pass": 0,
                "rating": 6.6356,
                "minutes": 16,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "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,
                "assists": 0,
                "shots_off_target": 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,
                "total_shots": 1,
                "yellowCards": 2.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 33.7,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.99,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 16.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3935,
                "fifa_rank": 3501.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Lucas Torró": {
          "player_id": 187313,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0058,
            "assists": 0,
            "expected_goals": 0.0101,
            "rating": 6.6497,
            "minutes": 18,
            "total_pass": 5,
            "accurate_pass": 4,
            "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": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 0.9236,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 2,
            "progressive_carries": 0,
            "total_shots": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 44.4,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.75,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 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": 3360,
            "combined_rank_score": 1309.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 665.0,
            "sofascore_rating": 6.7281,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1953.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.6497,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Torró",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Soufiane Rahimi",
                  "ranking": 3355
                },
                {
                  "player_name": "Héctor Bellerín",
                  "ranking": 3356
                },
                {
                  "player_name": "Lucas Perri",
                  "ranking": 3357
                },
                {
                  "player_name": "Billy Gilmour",
                  "ranking": 3358
                },
                {
                  "player_name": "Bernardo",
                  "ranking": 3359
                }
              ],
              "lower": [
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                },
                {
                  "player_name": "Nikola Moro",
                  "ranking": 3362
                },
                {
                  "player_name": "Ayden Heaven",
                  "ranking": 3363
                },
                {
                  "player_name": "Aron Dønnum",
                  "ranking": 3364
                },
                {
                  "player_name": "Iñaki Peña",
                  "ranking": 3365
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.564,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 18.1 expected mins (appearance prob 0.56); FBref playing time empirical prior: 2.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0295,
                "assists": 0,
                "expected_goals": 0.0267,
                "rating": 6.7769,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 4.67,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 9.3479,
                  "ballRecovery": 3.5374,
                  "intensity_index": 2.02,
                  "expectedAssists": 0.0071,
                  "kilometersCovered": 5.6318
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5025472044944763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2087
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0719
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.05
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0279
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0864,
                      "total": 0.5025
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02951565384864807,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.019
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0117
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0196,
                      "total": 0.0295
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06824973225593567,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0056
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0045
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0682
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.026668120175600052,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.016
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0091
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0068
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0267
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.776942729949951,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0583
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.019
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0172
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0149
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0145
                        }
                      ],
                      "others": 0.0012,
                      "total": 6.7769
                    }
                  }
                ],
                "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": 0,
                "expected_assists": 0.029,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.6497,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 4.5823,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.029,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.6497,
                "minutes": 39,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 4.5823,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 12,
                "progressive_carries": 0,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 18.1 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0053,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0053,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0101,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0058,
                "assists": 0,
                "expected_goals": 0.0101,
                "rating": 6.6497,
                "minutes": 18,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.9236,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 2,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 44.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.75,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3360,
                "fifa_rank": 1953.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Ante Budimir": {
          "player_id": 37318,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 190,
          "market_value": 2600000,
          "stats": {
            "expected_goals": 0.2023,
            "goal_rate": 0.234,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0073,
            "key_pass": 0,
            "rating": 7.235,
            "minutes": 30,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 3.2195,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3059,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 1,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 55.6,
            "shotConversion": 0.22,
            "minutesPct": 74.8,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.89,
            "bench_appearance_probability": 0.462,
            "bench_expected_minutes": 29.53,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.351,
            "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,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "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": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 1.6134,
                "expected_assists": 0.0091,
                "total_shots": 6,
                "shots_on_target": 5,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 14,
                "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": 16416314.0,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0584,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "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": 16815992.0,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 1.4479,
                "expected_assists": 0.0011,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 2,
                "accurate_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 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": 16416296.0,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.2557,
                "expected_assists": 0.0,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 6,
                "duels_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 610,
            "combined_rank_score": 313.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 410.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 7.235,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ante Budimir",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nemanja Ćalasan",
                  "ranking": 605
                },
                {
                  "player_name": "Sardorbek Bakhromov",
                  "ranking": 606
                },
                {
                  "player_name": "Alfonso Parot",
                  "ranking": 607
                },
                {
                  "player_name": "Vangelis Pavlidis",
                  "ranking": 608
                },
                {
                  "player_name": "Gavi",
                  "ranking": 609
                }
              ],
              "lower": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.522,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.522,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.53,
            "bench_appearance_prob": 0.462,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.9090909090909092,
              "assists_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 29.5 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.3302,
                "goal_rate": 0.7157,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0226,
                "key_pass": 0,
                "rating": 7.3734,
                "minutes": 73,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 10.0,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.95,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 2.6747,
                  "totalShots": 3.8274,
                  "minutesPlayed": 74.9225,
                  "touches": 26.5066,
                  "dribbleValueNormalized": 0.2251
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.33019179105758667,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0859
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0692
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0327
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0317
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0253
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.3302
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.7157076001167297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2105
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1695
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0633
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0393
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0366
                        }
                      ],
                      "others": 0.0562,
                      "total": 0.7157
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8951022028923035,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0881
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0841
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0783
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0478
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0449
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.8951
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022567305713891983,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0049
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.0226
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4265073537826538,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1682
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0299
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0263
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.038,
                      "total": 0.4265
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.373398303985596,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1564
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0995
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0613
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0602
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0592
                        }
                      ],
                      "others": 0.2232,
                      "total": 7.3734
                    }
                  }
                ],
                "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.324,
                "goal_rate": 0.7023,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0221,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 72,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 9.8123,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.9322,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0530)",
              "stats": {
                "expected_goals": 0.324,
                "goal_rate": 0.7133,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0221,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 72,
                "total_pass": 10,
                "accurate_pass": 5,
                "duels_won": 8,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 9.8123,
                "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": 2,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.9322,
                "offsides": 0,
                "ball_carries": 6,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89
              },
              "params": {
                "blend_weight": 0.053,
                "history_matches": 4,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8783,
                  "after": 0.9499
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9812,
                  "after": 1.0015
                },
                {
                  "stat": "wasFouled",
                  "before": 2.4531,
                  "after": 2.4676
                },
                {
                  "stat": "goals",
                  "before": 0.7023,
                  "after": 0.7133
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.5 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.1063,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53
              },
              "params": {
                "expected_minutes": 29.53,
                "appearance_probability": 0.462
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1063,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.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.12 (squad xG sum 0.5912, xG scale 1.9029)",
              "stats": {
                "expected_goals": 0.2023,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.125,
                "squad_xg_sum": 0.5912,
                "xg_scale": 1.9029,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1063,
                  "after": 0.2023
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.2023,
                "goal_rate": 0.234,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0073,
                "key_pass": 0,
                "rating": 7.235,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 3.2195,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3059,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 55.6,
                "shotConversion": 0.22,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.89,
                "bench_appearance_probability": 0.462,
                "bench_expected_minutes": 29.53,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.351,
                "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,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 610,
                "fifa_rank": 410.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.12,
        "expected_assists": 0.57,
        "total_shots": 14,
        "shots_on_target": 2,
        "total_passes": 294,
        "interceptions": 5,
        "tackles": 10,
        "avg_rating": 6.71,
        "possession_estimated_pct": 51.0,
        "pressing_actions_per_90": 6.3
      }
    },
    "Rayo Vallecano": {
      "formation": "4-3-3",
      "players": {
        "Augusto Batalla": {
          "player_id": 358910,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 186,
          "market_value": 5800000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0,
            "rating": 6.7635,
            "minutes": 74,
            "total_pass": 27,
            "accurate_pass": 16,
            "duels_won": 0,
            "total_long_balls": 16,
            "accurate_long_balls": 5,
            "touches": 39,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 10.4118,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.21,
            "shotsOnTargetAgainst": 2.9412,
            "cleanSheets": 0.0,
            "interceptions": 1,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 60.0,
            "cleanSheetPct": 0.0,
            "minutesPct": 55.2,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "expected_saves": 0.78,
            "high_pressure_saves": 0.3,
            "shots_faced": 1.7,
            "opponent_faced": "Raúl García de Haro, Aimar Oroz",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 13,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3,
                "saves": 1,
                "goals_prevented": 0.0088
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 20,
                "clearances": 2,
                "ball_recovery": 16,
                "saves": 2,
                "goals_prevented": -0.1982
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1585,
            "combined_rank_score": 646.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 2.0,
            "fifa_rank": 956.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 6.7635,
            "source_file": "data/player_rankings.csv",
            "player_name": "Augusto Batalla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Daniel Ballard",
                  "ranking": 1580
                },
                {
                  "player_name": "Sergio Herrera",
                  "ranking": 1581
                },
                {
                  "player_name": "Maximiliano Romero",
                  "ranking": 1582
                },
                {
                  "player_name": "Lucas Digne",
                  "ranking": 1583
                },
                {
                  "player_name": "Nico Elvedi",
                  "ranking": 1584
                }
              ],
              "lower": [
                {
                  "player_name": "Pavel Šulc",
                  "ranking": 1586
                },
                {
                  "player_name": "Richard Friday",
                  "ranking": 1587
                },
                {
                  "player_name": "Bertrand Traoré",
                  "ranking": 1588
                },
                {
                  "player_name": "Abdurauf Buriev",
                  "ranking": 1589
                },
                {
                  "player_name": "Nicolás Avellaneda",
                  "ranking": 1590
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.392,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "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": 2,
            "data_confidence": 0.392,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 149.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (G_service) evaluated 2 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.11, 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.0,
                "rating": 6.8208,
                "minutes": 75,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 6,
                "touches": 39,
                "clearances": 2,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.5,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:40.064367+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 113,
                    "rows": 393
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.4595,
                  "touches": 37.9459,
                  "totalOwnHalfPasses": 14.8378,
                  "punches": 0.5405,
                  "distribution_accuracy": 0.8628,
                  "accurateKeeperSweeper": 0.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.800870418548584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.1157
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0649
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0575
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.029
                        },
                        {
                          "name": "touches",
                          "contribution": 0.024
                        }
                      ],
                      "others": 0.0634,
                      "total": 2.8009
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.053
                      },
                      {
                        "name": "punches",
                        "importance": 0.051
                      },
                      {
                        "name": "touches",
                        "importance": 0.0482
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0468
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0432
                      }
                    ],
                    "decomposition": {
                      "base": -0.0536,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": -0.0621
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0454
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0395
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0304
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0289
                        }
                      ],
                      "others": -0.0594,
                      "total": -0.2403
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8207902908325195,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0593
                      },
                      {
                        "name": "touches",
                        "importance": 0.0495
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0484
                      },
                      {
                        "name": "savedShotsFromInsideTheBox",
                        "importance": 0.0468
                      },
                      {
                        "name": "punches",
                        "importance": 0.0464
                      }
                    ],
                    "decomposition": {
                      "base": 7.0716,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": -0.0769
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0617
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0382
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0298
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0231
                        }
                      ],
                      "others": -0.0673,
                      "total": 6.8208
                    }
                  }
                ],
                "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": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13
              },
              "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.0526)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0526,
                "history_matches": 2,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.7773,
                  "after": 2.724
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.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": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.78,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.78,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 79.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.78,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1585,
                "fifa_rank": 956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.78,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.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": 15.4751,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7635,
                "minutes": 74,
                "total_pass": 27,
                "accurate_pass": 16,
                "duels_won": 0,
                "total_long_balls": 16,
                "accurate_long_balls": 5,
                "touches": 39,
                "clearances": 1,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.4118,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.21,
                "shotsOnTargetAgainst": 2.9412,
                "cleanSheets": 0.0,
                "interceptions": 1,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 60.0,
                "cleanSheetPct": 0.0,
                "minutesPct": 55.2,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.78,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Raúl García de Haro, Aimar Oroz",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.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": 6.4482,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Andrei Rațiu": {
          "player_id": 965031,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 183,
          "market_value": 16700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 3,
            "aerial_won": 1,
            "rating": 6.8668,
            "minutes": 93,
            "total_pass": 32,
            "accurate_pass": 24,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 12,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 66,
            "possession_lost": 21.274,
            "dispossessed": 0.0,
            "duels_lost": 7,
            "aerial_lost": 2,
            "total_contest": 4,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.1813,
            "expected_assists": 0.0412,
            "total_shots": 2,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 123,
            "progressive_carries": 4,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 66.7,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 2.0,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.646,
            "opponent_faced": "Raúl Moro",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0322,
            "projected_assists": 0,
            "assist_probability": 0.0201,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.3136,
                "expected_assists": 0.0893,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 39,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.1167,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assists": 0,
                "expected_goals": 0.0585,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 16,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1414,
            "combined_rank_score": 585.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 410.0,
            "sofascore_rating": 6.9314,
            "sofascore_appearances": 35.0,
            "fifa_rank": 761.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 6.8668,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrei Rațiu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                },
                {
                  "player_name": "Anderson Talisca",
                  "ranking": 1410
                },
                {
                  "player_name": "Berat Djimsiti",
                  "ranking": 1411
                },
                {
                  "player_name": "Samuel Souprayen",
                  "ranking": 1412
                },
                {
                  "player_name": "Zeki Çelik",
                  "ranking": 1413
                }
              ],
              "lower": [
                {
                  "player_name": "Matteo Politano",
                  "ranking": 1415
                },
                {
                  "player_name": "Seong-jun Min",
                  "ranking": 1416
                },
                {
                  "player_name": "Martin Baturina",
                  "ranking": 1417
                },
                {
                  "player_name": "Emiliano Buendía",
                  "ranking": 1418
                },
                {
                  "player_name": "Santi Cazorla",
                  "ranking": 1419
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.457,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.457,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0292,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.6718,
                "minutes": 90,
                "total_pass": 31,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 64,
                "possession_lost": 20.67,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.16,
                "expected_assists": 0.04,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 120,
                "progressive_carries": 4,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 23.6385,
                  "touches_p90": 65.4441,
                  "possessionLostCtrl": 21.2439,
                  "totalClearance": 2.4947,
                  "aerialWon": 0.7191
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.936650276184082,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0366
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0246
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0151
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0114
                        }
                      ],
                      "others": 0.009,
                      "total": 0.9367
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.1929771900177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.3336
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2285
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.2178
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0658
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0494
                        }
                      ],
                      "others": 0.0742,
                      "total": 2.193
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.6676344871520996,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2948
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1201
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.1234
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1281
                        },
                        {
                          "name": "error_severity",
                          "contribution": -0.0548
                        }
                      ],
                      "others": 0.1885,
                      "total": 1.6676
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5818722248077393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3942
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.3446
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2248
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.1857
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.1298
                        }
                      ],
                      "others": 0.0082,
                      "total": 2.5819
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0642385482788086,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "error_severity",
                          "contribution": 0.0981
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0909
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0585
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0532
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0531
                        }
                      ],
                      "others": -0.1267,
                      "total": 1.0642
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.671828269958496,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalProgression",
                          "contribution": 0.0736
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0404
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0378
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0327
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.028
                        }
                      ],
                      "others": 0.009,
                      "total": 6.6718
                    }
                  }
                ],
                "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.0292, quality 0.597)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1647,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 16700000,
                "quality_factor": 0.5974,
                "boost_factor": 1.0292
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1647,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -0.5
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 3,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 5.4858,
                  "after": 5.3783
                },
                {
                  "stat": "totalShots",
                  "before": 1.7188,
                  "after": 1.6799
                },
                {
                  "stat": "wonTackle",
                  "before": 1.7164,
                  "after": 1.6776
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.964,
                  "after": 0.9389
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1647,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.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": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1647,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Raúl Moro",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raúl Moro",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1813,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Raúl Moro",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1647,
                  "after": 0.1813
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 80.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1813,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Raúl Moro",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1414,
                "fifa_rank": 761.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1813,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Raúl Moro",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0322,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0322,
                "scorer_weight": 0.4987,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0322,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.8668,
                "minutes": 93,
                "total_pass": 32,
                "accurate_pass": 24,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 66,
                "possession_lost": 21.274,
                "dispossessed": 0.0,
                "duels_lost": 7,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.1813,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 123,
                "progressive_carries": 4,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 2.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Raúl Moro",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0322,
                "projected_assists": 0,
                "assist_probability": 0.0201,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0201,
                "provider_weight": 0.1296,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0201,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Mujaid Sadick": {
          "player_id": 935309,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 185,
          "market_value": 4700000,
          "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.0176,
            "rating": 6.8,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "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.3,
            "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,
            "assists": 0,
            "expected_assists": 0.047,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.012,
            "key_pass": 1,
            "ball_carries": 19,
            "total_progression": 58,
            "progressive_carries": 4,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.788,
            "opponent_faced": "Raúl García de Haro",
            "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.0237,
            "projected_assists": 0,
            "assist_probability": 0.0555,
            "fifa_overall": 84.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 256,
            "combined_rank_score": 196.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 202.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mujaid Sadick",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "David Raum",
                  "ranking": 251
                },
                {
                  "player_name": "Bryan Carvallo",
                  "ranking": 252
                },
                {
                  "player_name": "Alexis Mac Allister",
                  "ranking": 253
                },
                {
                  "player_name": "Maximilian Mittelstädt",
                  "ranking": 254
                },
                {
                  "player_name": "Seong-Jin Kang",
                  "ranking": 255
                }
              ],
              "lower": [
                {
                  "player_name": "Tijjani Reijnders",
                  "ranking": 257
                },
                {
                  "player_name": "Nicolás Vargas",
                  "ranking": 258
                },
                {
                  "player_name": "James Nicholas Delianov",
                  "ranking": 259
                },
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                }
              ]
            }
          },
          "data_sources": [
            "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.4585,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€4,700,000) applied for position D (quality factor 0.46)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.46)",
              "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.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 4700000,
                "quality_factor": 0.4585
              }
            },
            {
              "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.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "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.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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": "Raúl García de Haro",
                  "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "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.0176,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 84.0)",
              "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.0176,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 256,
                "fifa_rank": 202.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "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.0176,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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.0237,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0237,
                "scorer_weight": 0.3672,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0237,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "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.0176,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "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.3,
                "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,
                "assists": 0,
                "expected_assists": 0.047,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 58,
                "progressive_carries": 4,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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.0237,
                "projected_assists": 0,
                "assist_probability": 0.0555,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0555,
                "provider_weight": 0.3578,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0555,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Marash Kumbulla": {
          "player_id": 893642,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 191,
          "market_value": 2800000,
          "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.0176,
            "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,
            "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": 1.0,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.788,
            "opponent_faced": "Raúl García de Haro",
            "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.04,
            "projected_assists": 0,
            "assist_probability": 0.0197,
            "fifa_overall": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3597,
            "combined_rank_score": 1565.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 795.0,
            "sofascore_rating": 6.625,
            "sofascore_appearances": 8.0,
            "fifa_rank": 2336.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marash Kumbulla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                },
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                },
                {
                  "player_name": "Carlos Alcaraz",
                  "ranking": 3596
                }
              ],
              "lower": [
                {
                  "player_name": "Fidalgo",
                  "ranking": 3598
                },
                {
                  "player_name": "Evan Ferguson",
                  "ranking": 3599
                },
                {
                  "player_name": "Moncayola",
                  "ranking": 3600
                },
                {
                  "player_name": "Pathé Ciss",
                  "ranking": 3601
                },
                {
                  "player_name": "Jon Mikel Aramburu",
                  "ranking": 3602
                }
              ]
            }
          },
          "data_sources": [
            "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,800,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,
                "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": 2800000,
                "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,
                "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,
                "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": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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": "Raúl García de Haro",
                  "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "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.0176,
                "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,
                "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": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 75.0)",
              "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.0176,
                "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,
                "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": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3597,
                "fifa_rank": 2336.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "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.0176,
                "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,
                "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": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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.04,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.04,
                "scorer_weight": 0.6194,
                "squad_weight_total": 15.4751,
                "weight_share": 0.04,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "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.0176,
                "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,
                "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": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.788,
                "opponent_faced": "Raúl García de Haro",
                "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.04,
                "projected_assists": 0,
                "assist_probability": 0.0197,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0197,
                "provider_weight": 0.1272,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0197,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Adrià Pedrosa": {
          "player_id": 928672,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 176,
          "market_value": 2700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "rating": 6.5728,
            "minutes": 65,
            "total_pass": 20,
            "accurate_pass": 15,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 8,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 11.2841,
            "dispossessed": 0.9812,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0687,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 72,
            "progressive_carries": 4,
            "key_pass": 1,
            "offsides": 0,
            "yellowCards": 1.4286,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 21.9,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.493,
            "opponent_faced": "Aimar Oroz",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0134,
            "projected_assists": 0,
            "assist_probability": 0.0597,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 75,
                "rating": 6.1,
                "assists": 0,
                "expected_goals": 0.0601,
                "expected_assists": 0.0309,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.1055,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3912,
            "combined_rank_score": 1894.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 896.0,
            "sofascore_rating": 6.5269,
            "sofascore_appearances": 27.0,
            "fifa_rank": 2892.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "projected_match_rating": 6.5728,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrià Pedrosa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pietro Terracciano",
                  "ranking": 3907
                },
                {
                  "player_name": "Hugo Rodallega",
                  "ranking": 3908
                },
                {
                  "player_name": "Marc-Oliver Kempf",
                  "ranking": 3909
                },
                {
                  "player_name": "Lorenzo Amatucci",
                  "ranking": 3910
                },
                {
                  "player_name": "Juan Iturbe",
                  "ranking": 3911
                }
              ],
              "lower": [
                {
                  "player_name": "Pedraza",
                  "ranking": 3913
                },
                {
                  "player_name": "Erick Sánchez",
                  "ranking": 3914
                },
                {
                  "player_name": "Keinan Davis",
                  "ranking": 3915
                },
                {
                  "player_name": "Jens Odgaard",
                  "ranking": 3916
                },
                {
                  "player_name": "Nicolò Zaniolo",
                  "ranking": 3917
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.382,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.382,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 59.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.6985,
                "minutes": 66,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 11.5,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.07,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 74,
                "progressive_carries": 4,
                "key_pass": 2
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 14.9189,
                  "touches_p90": 54.2069,
                  "possessionLostCtrl": 11.8649,
                  "totalClearance": 0.5405,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8827747702598572,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0399
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.037
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0254
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0138
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0251,
                      "total": 0.8828
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5936840772628784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1199
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0731
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0669
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0503
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0472
                        }
                      ],
                      "others": 0.1092,
                      "total": 1.5937
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0317142009735107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1478
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0669
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0516
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0487
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0356
                        }
                      ],
                      "others": 0.0854,
                      "total": 1.0317
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9106924533843994,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.5809
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.3632
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1817
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1638
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.1431
                        }
                      ],
                      "others": -0.4232,
                      "total": 1.9107
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9419839978218079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.0903
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0615
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0488
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0414
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.039
                        }
                      ],
                      "others": -0.1019,
                      "total": 0.942
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.698544502258301,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0516
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0473
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.024
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0178
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0249,
                      "total": 6.6985
                    }
                  }
                ],
                "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": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -3.05
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 2,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "fouls",
                  "before": 1.4718,
                  "after": 1.5018
                },
                {
                  "stat": "totalShots",
                  "before": 0.9812,
                  "after": 0.9599
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8662,
                  "after": 0.8474
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0123,
                  "after": 1.0213
                }
              ]
            },
            {
              "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": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "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": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.493,
                "opponent_faced": "Aimar Oroz",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aimar Oroz",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.493,
                "opponent_faced": "Aimar Oroz",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 74.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.493,
                "opponent_faced": "Aimar Oroz",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3912,
                "fifa_rank": 2892.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.493,
                "opponent_faced": "Aimar Oroz",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0134,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0134,
                "scorer_weight": 0.2069,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0134,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5728,
                "minutes": 65,
                "total_pass": 20,
                "accurate_pass": 15,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 39,
                "possession_lost": 11.2841,
                "dispossessed": 0.9812,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0687,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 72,
                "progressive_carries": 4,
                "key_pass": 1,
                "offsides": 0,
                "yellowCards": 1.4286,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 21.9,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.493,
                "opponent_faced": "Aimar Oroz",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0134,
                "projected_assists": 0,
                "assist_probability": 0.0597,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0597,
                "provider_weight": 0.3847,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0597,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Isi Palazón": {
          "player_id": 899982,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 169,
          "market_value": 3000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0514,
            "assists": 0,
            "expected_goals": 0.0518,
            "rating": 6.6687,
            "minutes": 40,
            "total_pass": 10,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 6.8686,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 1,
            "progressive_carries": 0,
            "total_shots": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.344,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jon Moncayola",
            "opponent_faced": "Jon Moncayola",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0215,
            "projected_assists": 0,
            "assist_probability": 0.1756,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.004,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1652,
            "combined_rank_score": 826.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 671.0,
            "sofascore_rating": 6.7258,
            "sofascore_appearances": 31.0,
            "fifa_rank": 981.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.6687,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isi Palazón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                },
                {
                  "player_name": "Georges Mikautadze",
                  "ranking": 1648
                },
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                }
              ],
              "lower": [
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                },
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 2 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0524,
                "assists": 0,
                "expected_goals": 0.048,
                "rating": 6.7962,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 2,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 3.5078,
                  "ballRecovery": 1.0,
                  "intensity_index": 2.985,
                  "expectedAssists": 0.0058,
                  "kilometersCovered": 4.5897
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.836449384689331,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0542
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0538
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0411
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0274
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0267
                        }
                      ],
                      "others": -0.0905,
                      "total": 0.8364
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.052397213876247406,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0128
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0082
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0074
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.0524
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07551756501197815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0068
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0039
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.0755
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.048006393015384674,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0234
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0089
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.007
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.048
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.796226978302002,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0266
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0207
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0179
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0166,
                      "total": 6.7962
                    }
                  }
                ],
                "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.0514,
                "assists": 0,
                "expected_goals": 0.0471,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 3000000,
                "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.0514,
                "assists": 0,
                "expected_goals": 0.0471,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 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.0514,
                "assists": 0,
                "expected_goals": 0.0471,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Moncayola",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.344,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0514,
                "assists": 0,
                "expected_goals": 0.0518,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 79.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0514,
                "assists": 0,
                "expected_goals": 0.0518,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1652,
                "fifa_rank": 981.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0514,
                "assists": 0,
                "expected_goals": 0.0518,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0215,
                "scorer_weight": 0.332,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0215,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0514,
                "assists": 0,
                "expected_goals": 0.0518,
                "rating": 6.6687,
                "minutes": 40,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.8686,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 1,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.1756,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1756,
                "provider_weight": 1.1325,
                "squad_weight_total": 6.4482,
                "weight_share": 0.1756,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Pedro Díaz": {
          "player_id": 900669,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 4,
          "height": 180,
          "market_value": 2900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.083,
            "assists": 1,
            "expected_goals": 0.0507,
            "rating": 6.7228,
            "minutes": 44,
            "total_pass": 16,
            "accurate_pass": 15,
            "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": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 3.2675,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 17.4,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.418,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jon Moncayola",
            "opponent_faced": "Jon Moncayola",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0263,
            "projected_assists": 1,
            "assist_probability": 0.2044,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0628,
                "expected_assists": 0.0492,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0422,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0935,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3649,
            "combined_rank_score": 1611.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2400.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.7228,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "João Moutinho",
                  "ranking": 3644
                },
                {
                  "player_name": "Tom Cairney",
                  "ranking": 3645
                },
                {
                  "player_name": "Mads Hermansen",
                  "ranking": 3646
                },
                {
                  "player_name": "Pepê",
                  "ranking": 3647
                },
                {
                  "player_name": "Finn Azaz",
                  "ranking": 3648
                }
              ],
              "lower": [
                {
                  "player_name": "Junior Firpo",
                  "ranking": 3650
                },
                {
                  "player_name": "Bashir Humphreys",
                  "ranking": 3651
                },
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.442,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 47.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0845,
                "assists": 0,
                "expected_goals": 0.0469,
                "rating": 6.8514,
                "minutes": 45,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 12,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.33,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 3.2335,
                  "ballRecovery": 2.6628,
                  "intensity_index": 2.3441,
                  "expectedAssists": 0.0593,
                  "kilometersCovered": 2.0037
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8017945885658264,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0679
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0548
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0427
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0407
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": 0.0262
                        }
                      ],
                      "others": -0.0728,
                      "total": 0.8018
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0845455601811409,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0123
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0075
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0041
                        }
                      ],
                      "others": 0.0047,
                      "total": 0.0845
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08671344816684723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0054
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0034
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0035
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.0867
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0469333752989769,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.021
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0123
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0094
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0064
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0469
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.851449966430664,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.022
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0206
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0184
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0178
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0172
                        }
                      ],
                      "others": -0.0351,
                      "total": 6.8515
                    }
                  }
                ],
                "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.083,
                "assists": 0,
                "expected_goals": 0.0461,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0461,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": -3.83
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 3,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.1082
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0461,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "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": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0461,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Moncayola",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.418,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.0,
                  "after": 1.6
                },
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0507,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0507,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3649,
                "fifa_rank": 2400.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 0,
                "expected_goals": 0.0507,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0263,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0263,
                "scorer_weight": 0.4067,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0263,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.083,
                "assists": 1,
                "expected_goals": 0.0507,
                "rating": 6.7228,
                "minutes": 44,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 11,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 3.2675,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 17.4,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.418,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jon Moncayola",
                "opponent_faced": "Jon Moncayola",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0263,
                "projected_assists": 1,
                "assist_probability": 0.2044,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2044,
                "provider_weight": 1.3182,
                "squad_weight_total": 6.4482,
                "weight_share": 0.2044,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Giorgi Tsitaishvili": {
          "player_id": 875677,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 14,
          "height": 171,
          "market_value": 2700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0534,
            "assists": 0,
            "expected_goals": 0.0698,
            "rating": 6.6611,
            "minutes": 16,
            "total_pass": 1,
            "accurate_pass": 1,
            "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": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 1.9625,
            "dispossessed": 0.9812,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "opponent_faced": "Romain Del Castillo",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0199,
            "projected_assists": 0,
            "assist_probability": 0.176,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1617,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.6611,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Tsitaishvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                },
                {
                  "player_name": "Jorge Herrando",
                  "ranking": 1616
                }
              ],
              "lower": [
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                },
                {
                  "player_name": "Marcelo Díaz",
                  "ranking": 1622
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0545,
                "assists": 0,
                "expected_goals": 0.0646,
                "rating": 6.7885,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 2.0,
                "dispossessed": 1.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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 0.0,
                  "ballRecovery": 0.0,
                  "intensity_index": 0.0,
                  "expectedAssists": 0.0001,
                  "kilometersCovered": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.027877688407898,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0917
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0957
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0626
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0583
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0471
                        }
                      ],
                      "others": -0.1714,
                      "total": 1.0279
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05445246770977974,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0107
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0086
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0078
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0059
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0164,
                      "total": 0.0545
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07458280771970749,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0061
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0051
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0043
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0746
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06459345668554306,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0176
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.014
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0139
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0075
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0128,
                      "total": 0.0646
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.78851318359375,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.2018
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1187
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0494
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0193
                        }
                      ],
                      "others": -0.0134,
                      "total": 6.7885
                    }
                  }
                ],
                "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.0534,
                "assists": 0,
                "expected_goals": 0.0634,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "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.0534,
                "assists": 0,
                "expected_goals": 0.0634,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 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.0534,
                "assists": 0,
                "expected_goals": 0.0634,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "opponent_faced": "Romain Del Castillo",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Romain Del Castillo",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0534,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "opponent_faced": "Romain Del Castillo",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0634,
                  "after": 0.0698
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 78.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0534,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "opponent_faced": "Romain Del Castillo",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1617,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0534,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "opponent_faced": "Romain Del Castillo",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0199,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0199,
                "scorer_weight": 0.3073,
                "squad_weight_total": 15.4751,
                "weight_share": 0.0199,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0534,
                "assists": 0,
                "expected_goals": 0.0698,
                "rating": 6.6611,
                "minutes": 16,
                "total_pass": 1,
                "accurate_pass": 1,
                "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": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.9625,
                "dispossessed": 0.9812,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "opponent_faced": "Romain Del Castillo",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0199,
                "projected_assists": 0,
                "assist_probability": 0.176,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.176,
                "provider_weight": 1.1349,
                "squad_weight_total": 6.4482,
                "weight_share": 0.176,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Jorge de Frutos": {
          "player_id": 900003,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 173,
          "market_value": 10900000,
          "stats": {
            "expected_goals": 0.2901,
            "goal_rate": 0.2921,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0363,
            "key_pass": 1,
            "rating": 6.9541,
            "minutes": 76,
            "total_pass": 13,
            "accurate_pass": 9,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 9.089,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 0,
            "interceptions": 0,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 34,
            "progressive_carries": 1,
            "total_shots": 2,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.4,
            "aerial_won": 1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.514,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Valentin Rosier",
            "opponent_faced": "Valentin Rosier",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2331,
            "projected_assists": 0,
            "assist_probability": 0.0979,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 65,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0728,
                "expected_assists": 0.0161,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 1,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 900,
            "combined_rank_score": 503.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 421.0,
            "sofascore_rating": 6.9222,
            "sofascore_appearances": 36.0,
            "fifa_rank": 585.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 6.9541,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge de Frutos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stefan de Vrij",
                  "ranking": 895
                },
                {
                  "player_name": "Óscar Mingueza",
                  "ranking": 896
                },
                {
                  "player_name": "Moleiro",
                  "ranking": 897
                },
                {
                  "player_name": "Fabián Hormazábal",
                  "ranking": 898
                },
                {
                  "player_name": "Do-hyeok Kim",
                  "ranking": 899
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Silva",
                  "ranking": 901
                },
                {
                  "player_name": "Vedat Muriqi",
                  "ranking": 902
                },
                {
                  "player_name": "Seung-chan Heo",
                  "ranking": 903
                },
                {
                  "player_name": "Marco Asensio",
                  "ranking": 904
                },
                {
                  "player_name": "Nick Woltemade",
                  "ranking": 905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0099,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2296,
                "goal_rate": 0.2893,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.036,
                "key_pass": 1,
                "rating": 6.886,
                "minutes": 76,
                "total_pass": 12,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.0,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 33,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.3138,
                  "totalShots": 0.3138,
                  "minutesPlayed": 73.3523,
                  "touches": 24.6537,
                  "dribbleValueNormalized": 0.1582
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.22962605953216553,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0536
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0475
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0216
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0162
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0155
                        }
                      ],
                      "others": -0.1249,
                      "total": 0.2296
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.28926628828048706,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0651
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0317
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.02
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0182
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0181
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.2893
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7349479794502258,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0489
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0526
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0366
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0346
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0363
                        }
                      ],
                      "others": -0.0338,
                      "total": 0.7349
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.035966016352176666,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0078
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0049
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0042
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0035
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.036
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8136653900146484,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0964
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0526
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0387
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0286
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0259
                        }
                      ],
                      "others": 0.0178,
                      "total": 0.8137
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.886022567749023,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0471
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0439
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0363
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0343
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0304
                        }
                      ],
                      "others": 0.049,
                      "total": 6.886
                    }
                  }
                ],
                "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.0099, quality 0.533)",
              "stats": {
                "expected_goals": 0.2319,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 10900000,
                "quality_factor": 0.533,
                "boost_factor": 1.0099
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2319,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 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.2635,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.514,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Valentin Rosier",
                "opponent_faced": "Valentin Rosier",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Valentin Rosier",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.514,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_override": 0.2635
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.2319,
                  "after": 0.2635
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.2901,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.514,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Valentin Rosier",
                "opponent_faced": "Valentin Rosier",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2635,
                  "after": 0.2901
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.2901,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.514,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Valentin Rosier",
                "opponent_faced": "Valentin Rosier",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 900,
                "fifa_rank": 585.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.2901,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.514,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Valentin Rosier",
                "opponent_faced": "Valentin Rosier",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2331,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2331,
                "scorer_weight": 3.6073,
                "squad_weight_total": 15.4751,
                "weight_share": 0.2331,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.2901,
                "goal_rate": 0.2921,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0363,
                "key_pass": 1,
                "rating": 6.9541,
                "minutes": 76,
                "total_pass": 13,
                "accurate_pass": 9,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 5,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 9.089,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 34,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "aerial_won": 1,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.514,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Valentin Rosier",
                "opponent_faced": "Valentin Rosier",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2331,
                "projected_assists": 0,
                "assist_probability": 0.0979,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0979,
                "provider_weight": 0.6314,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0979,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Alemão": {
          "player_id": 981604,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 182,
          "market_value": 4400000,
          "stats": {
            "expected_goals": 0.1171,
            "goal_rate": 0.1584,
            "goals": 0,
            "shots_on_target": 1,
            "expected_assists": 0.0258,
            "key_pass": 1,
            "rating": 6.7385,
            "minutes": 24,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 3.9457,
            "dispossessed": 1.9729,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 0,
            "progressive_carries": 0,
            "total_shots": 2,
            "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": "Abel Bretones, Jorge Herrando",
            "opponent_faced": "Abel Bretones, Jorge Herrando",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1376,
            "projected_assists": 0,
            "assist_probability": 0.0902,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 33,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.0109,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.1901,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3669,
            "combined_rank_score": 1628.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2920.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.7385,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alemão",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jesús Gallardo",
                  "ranking": 3664
                },
                {
                  "player_name": "Otar Kiteishvili",
                  "ranking": 3665
                },
                {
                  "player_name": "James Ward-Prowse",
                  "ranking": 3666
                },
                {
                  "player_name": "Raphael Veiga",
                  "ranking": 3667
                },
                {
                  "player_name": "Marcel Ruiz",
                  "ranking": 3668
                }
              ],
              "lower": [
                {
                  "player_name": "José Paradela",
                  "ranking": 3670
                },
                {
                  "player_name": "Lucas Høgsberg",
                  "ranking": 3671
                },
                {
                  "player_name": "Haji Wright",
                  "ranking": 3672
                },
                {
                  "player_name": "Willer Ditta",
                  "ranking": 3673
                },
                {
                  "player_name": "Eren Elmalı",
                  "ranking": 3674
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9864,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1673,
                "goal_rate": 0.1606,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0261,
                "key_pass": 1,
                "rating": 6.8312,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 4.0,
                "dispossessed": 2.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.6113,
                  "totalShots": 0.6113,
                  "minutesPlayed": 24.8056,
                  "touches": 11.1662,
                  "dribbleValueNormalized": 0.1086
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16734261810779572,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0662
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0269
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0189
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0164
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0484,
                      "total": 0.1673
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16061089932918549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0636
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0473
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0346
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0163
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0381,
                      "total": 0.1606
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7169029116630554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0585
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0535
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0433
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0429
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0278
                        }
                      ],
                      "others": -0.0554,
                      "total": 0.7169
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02611374482512474,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0096
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0261
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7363221645355225,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2087
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0507
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.032
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.1122,
                      "total": 0.7363
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.831192970275879,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0507
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0357
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0327
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0321
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0313
                        }
                      ],
                      "others": 0.0707,
                      "total": 6.8312
                    }
                  }
                ],
                "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.9864, quality 0.455)",
              "stats": {
                "expected_goals": 0.1651,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.9864
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1651,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 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": {
                "expected_goals": 0.1064,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "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": "Abel Bretones, Jorge Herrando",
                "opponent_faced": "Abel Bretones, Jorge Herrando",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abel Bretones, Jorge Herrando",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.1064
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.1651,
                  "after": 0.1064
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.1171,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "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": "Abel Bretones, Jorge Herrando",
                "opponent_faced": "Abel Bretones, Jorge Herrando",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1064,
                  "after": 0.1171
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.1171,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "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": "Abel Bretones, Jorge Herrando",
                "opponent_faced": "Abel Bretones, Jorge Herrando",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3669,
                "fifa_rank": 2920.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.1171,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "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": "Abel Bretones, Jorge Herrando",
                "opponent_faced": "Abel Bretones, Jorge Herrando",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1376,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1376,
                "scorer_weight": 2.1296,
                "squad_weight_total": 15.4751,
                "weight_share": 0.1376,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.1171,
                "goal_rate": 0.1584,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0258,
                "key_pass": 1,
                "rating": 6.7385,
                "minutes": 24,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.9457,
                "dispossessed": 1.9729,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "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": "Abel Bretones, Jorge Herrando",
                "opponent_faced": "Abel Bretones, Jorge Herrando",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1376,
                "projected_assists": 0,
                "assist_probability": 0.0902,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0902,
                "provider_weight": 0.5813,
                "squad_weight_total": 6.4482,
                "weight_share": 0.0902,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Sergio Camello": {
          "player_id": 910024,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 3300000,
          "stats": {
            "expected_goals": 0.3055,
            "goal_rate": 1.1759,
            "goals": 1,
            "shots_on_target": 1,
            "expected_assists": 0.046,
            "key_pass": 1,
            "rating": 7.4921,
            "minutes": 61,
            "total_pass": 16,
            "accurate_pass": 11,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 29,
            "possession_lost": 11.7882,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 11,
            "total_progression": 36,
            "progressive_carries": 1,
            "total_shots": 2,
            "yellowCards": 0.4762,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 57.1,
            "shotConversion": 0.43,
            "minutesPct": 70.7,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "aerial_won": 1,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.404,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Enzo Boyomo",
            "opponent_faced": "Enzo Boyomo",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4523,
            "projected_assists": 0,
            "assist_probability": 0.1009,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 57,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 1,
                "expected_goals": 0.8563,
                "expected_assists": 0.0889,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 8.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 0.7722,
                "expected_assists": 0.0052,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 20,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1773,
                "expected_assists": 0.0149,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3542,
            "combined_rank_score": 1508.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 122.0,
            "sofascore_rating": 7.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2895.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 7.4921,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Camello",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chrislain Matsima",
                  "ranking": 3537
                },
                {
                  "player_name": "Yan Couto",
                  "ranking": 3538
                },
                {
                  "player_name": "Enes Ünal",
                  "ranking": 3539
                },
                {
                  "player_name": "Issa Diop",
                  "ranking": 3540
                },
                {
                  "player_name": "Senne Lynen",
                  "ranking": 3541
                }
              ],
              "lower": [
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                },
                {
                  "player_name": "Janis Blaswich",
                  "ranking": 3545
                },
                {
                  "player_name": "Jobe Bellingham",
                  "ranking": 3546
                },
                {
                  "player_name": "Omar El Hilali",
                  "ranking": 3547
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.521,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.521,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9823,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 191.0,
              "goals_per90": 1.4285714285714286,
              "assists_per90": 0.0,
              "shots_per90": 3.3,
              "shots_on_target_pct": 57.1,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.14, gls/90: 1.4285714285714286, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2901,
                "goal_rate": 1.1833,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0468,
                "key_pass": 1,
                "rating": 7.6267,
                "minutes": 62,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 12.0,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 1.9284,
                  "totalShots": 2.6886,
                  "minutesPlayed": 63.3091,
                  "touches": 30.0862,
                  "dribbleValueNormalized": 0.2909
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.29010817408561707,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0377
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0307
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0249
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.019
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0186
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.2901
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 1.1833301782608032,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.3311
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2037
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0644
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0466
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0421
                        }
                      ],
                      "others": 0.2787,
                      "total": 1.1833
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8357945084571838,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0739
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0703
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0407
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0385
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0287
                        }
                      ],
                      "others": 0.0896,
                      "total": 0.8358
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04679136723279953,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": -0.0079
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0048
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0038
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0024
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.0056,
                      "total": 0.0468
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.9747636914253235,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1348
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0968
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0445
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0307
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0307
                        }
                      ],
                      "others": -0.0456,
                      "total": 0.9748
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.626741409301758,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2061
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1194
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0852
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0733
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0514
                        }
                      ],
                      "others": 0.3777,
                      "total": 7.6267
                    }
                  }
                ],
                "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": {
                "expected_goals": 0.285,
                "goal_rate": 1.1624,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1
              },
              "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.0506)",
              "stats": {
                "expected_goals": 0.285,
                "goal_rate": 1.1759,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 3,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -1.41
              },
              "params": {
                "blend_weight": 0.0506,
                "history_matches": 4,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1444
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.821,
                  "after": 0.8745
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goals",
                  "before": 1.1624,
                  "after": 1.1759
                },
                {
                  "stat": "goalAssist",
                  "before": 0.2456,
                  "after": 0.2332
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.285,
                "goal_rate": 1.1759,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 3,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "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": {
                "expected_goals": 0.2775,
                "goal_rate": 1.1759,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.404,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Boyomo",
                "opponent_faced": "Enzo Boyomo",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Enzo Boyomo",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.404,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_override": 0.2775
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.3,
                  "after": 1.8
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.285,
                  "after": 0.2775
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.3055,
                "goal_rate": 1.1759,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.404,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Boyomo",
                "opponent_faced": "Enzo Boyomo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2775,
                  "after": 0.3055
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.3055,
                "goal_rate": 1.1759,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.404,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Boyomo",
                "opponent_faced": "Enzo Boyomo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3542,
                "fifa_rank": 2895.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.3055,
                "goal_rate": 1.1759,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.404,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Boyomo",
                "opponent_faced": "Enzo Boyomo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4523,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.4523,
                "scorer_weight": 7.0001,
                "squad_weight_total": 15.4751,
                "weight_share": 0.4523,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.3055,
                "goal_rate": 1.1759,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.046,
                "key_pass": 1,
                "rating": 7.4921,
                "minutes": 61,
                "total_pass": 16,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 11.7882,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "total_progression": 36,
                "progressive_carries": 1,
                "total_shots": 2,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 57.1,
                "shotConversion": 0.43,
                "minutesPct": 70.7,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.1,
                "aerial_won": 1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.404,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Enzo Boyomo",
                "opponent_faced": "Enzo Boyomo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4523,
                "projected_assists": 0,
                "assist_probability": 0.1009,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1009,
                "provider_weight": 0.6504,
                "squad_weight_total": 6.4482,
                "weight_share": 0.1009,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Emil Audero": {
          "player_id": 318603,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 190,
          "market_value": 2700000,
          "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.255,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            }
          ],
          "ranking": {
            "global_player_rank": 1308,
            "combined_rank_score": 567.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 925.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Emil Audero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matt Sutton",
                  "ranking": 1303
                },
                {
                  "player_name": "Pierre Kalulu",
                  "ranking": 1304
                },
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                }
              ],
              "lower": [
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                },
                {
                  "player_name": "Marko Dmitrović",
                  "ranking": 1310
                },
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,700,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": 2700000,
                "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 (match squad rank 10, fifa_overall 79.0)",
              "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.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1308,
                "fifa_rank": 925.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Luiz Felipe": {
          "player_id": 850035,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 187,
          "market_value": 2100000,
          "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,
            "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": 2,
            "projected_substitution_expected_count": 2.255,
            "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": [],
          "ranking": {
            "global_player_rank": 3592,
            "combined_rank_score": 1560.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 721.0,
            "sofascore_rating": 6.68,
            "sofascore_appearances": 10.0,
            "fifa_rank": 2399.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luiz Felipe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kike García",
                  "ranking": 3587
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                },
                {
                  "player_name": "Carlos Alcaraz",
                  "ranking": 3596
                },
                {
                  "player_name": "Marash Kumbulla",
                  "ranking": 3597
                }
              ]
            }
          },
          "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 (€2,100,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,
                "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": "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,
                "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,
                "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 (match squad rank 15, fifa_overall 75.0)",
              "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,
                "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": 2,
                "projected_substitution_expected_count": 2.255,
                "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": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3592,
                "fifa_rank": 2399.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Jozhua Vertrouwd": {
          "player_id": 1120947,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 188,
          "market_value": 2100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.4737,
            "minutes": 14,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.8139,
            "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,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 44.8,
            "pointsPerMatch": 0.5,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "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": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 32,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "clearances": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 6262,
            "combined_rank_score": 4535.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 938.0,
            "sofascore_rating": 6.4556,
            "sofascore_appearances": 9.0,
            "fifa_rank": 8133.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.4737,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jozhua Vertrouwd",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Hyun Kim",
                  "ranking": 6257
                },
                {
                  "player_name": "Rai Lima",
                  "ranking": 6258
                },
                {
                  "player_name": "Nicolás Rodríguez",
                  "ranking": 6259
                },
                {
                  "player_name": "Blás Riveros",
                  "ranking": 6260
                },
                {
                  "player_name": "Francisco Calvo",
                  "ranking": 6261
                }
              ],
              "lower": [
                {
                  "player_name": "Rafael Carrascal",
                  "ranking": 6263
                },
                {
                  "player_name": "Rodrigo Contreras",
                  "ranking": 6264
                },
                {
                  "player_name": "Leonardo Castro",
                  "ranking": 6265
                },
                {
                  "player_name": "Rafa Rodriguez",
                  "ranking": 6266
                },
                {
                  "player_name": "Yeison Guzmán",
                  "ranking": 6267
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.388,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.388,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost D_service (2 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 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.5976,
                "minutes": 61,
                "total_pass": 18,
                "accurate_pass": 16,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 5.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 32.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 14.8108,
                  "touches_p90": 42.4189,
                  "possessionLostCtrl": 5.2973,
                  "totalClearance": 1.3784,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5678583979606628,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2558
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0131
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0109
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0096
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.071,
                      "total": 0.5679
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2075741291046143,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0598
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0421
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0384
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0373
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0359
                        }
                      ],
                      "others": -0.011,
                      "total": 1.2076
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5223888754844666,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1397
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0857
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0341
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0294
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0265
                        }
                      ],
                      "others": -0.0297,
                      "total": 0.5224
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.1516791582107544,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.8941
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1572
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0712
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0605
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0599
                        }
                      ],
                      "others": -0.1284,
                      "total": 1.1517
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7502913475036621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3342
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0428
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0252
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0452,
                      "total": 0.7503
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.597590446472168,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0724
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0475
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.032
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0209
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0205
                        }
                      ],
                      "others": -0.0078,
                      "total": 6.5976
                    }
                  }
                ],
                "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": 1,
                "aerial_won": 1,
                "rating": 6.4737,
                "minutes": 60,
                "total_pass": 18,
                "accurate_pass": 15,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 5.3968,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0403)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.4737,
                "minutes": 60,
                "total_pass": 18,
                "accurate_pass": 15,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 5.3968,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 29,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": -0.74
              },
              "params": {
                "blend_weight": 0.0403,
                "history_matches": 2,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0619
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.031
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5572,
                  "after": 0.5348
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5126,
                  "after": 0.5229
                }
              ]
            },
            {
              "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,
                "rating": 6.4737,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "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,
                "rating": 6.4737,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 68.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.4737,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.8139,
                "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,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 44.8,
                "pointsPerMatch": 0.5,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "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": 68.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6262,
                "fifa_rank": 8133.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 68.0
              }
            }
          ]
        },
        "Unai López": {
          "player_id": 588566,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 169,
          "market_value": 2600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0259,
            "assists": 0,
            "expected_goals": 0.0117,
            "rating": 6.7424,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 3.3537,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "total_shots": 0,
            "offsides": 0,
            "yellowCards": 0.3704,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 89.3,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.307,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416331.0,
              "match_date": "2026-09-12 19: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": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 2,
                "expected_goals": 0.0699,
                "expected_assists": 0.4677,
                "total_shots": 1,
                "total_pass": 63,
                "accurate_pass": 52,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 6.7,
                "assists": 1,
                "expected_assists": 0.1372,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0258,
                "expected_assists": 0.1907,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 25,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3158,
            "combined_rank_score": 1124.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1956.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.7424,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tammy Abraham",
                  "ranking": 3153
                },
                {
                  "player_name": "Rafa Marín",
                  "ranking": 3154
                },
                {
                  "player_name": "Jake O'Brien",
                  "ranking": 3155
                },
                {
                  "player_name": "Robin Hranáč",
                  "ranking": 3156
                },
                {
                  "player_name": "Jhon Durán",
                  "ranking": 3157
                }
              ],
              "lower": [
                {
                  "player_name": "Clément Lenglet",
                  "ranking": 3159
                },
                {
                  "player_name": "Albion Rrahmani",
                  "ranking": 3160
                },
                {
                  "player_name": "Leon Bailey",
                  "ranking": 3161
                },
                {
                  "player_name": "Jack Clarke",
                  "ranking": 3162
                },
                {
                  "player_name": "Vitor Reis",
                  "ranking": 3163
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.527,
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.527,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.307,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3703703703703703,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 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 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1081,
                "assists": 0,
                "expected_goals": 0.049,
                "rating": 6.8714,
                "minutes": 83,
                "total_pass": 42,
                "accurate_pass": 34,
                "duels_won": 5,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 14.0,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 21,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 4.4547,
                  "ballRecovery": 4.1998,
                  "intensity_index": 4.1972,
                  "expectedAssists": 0.2275,
                  "kilometersCovered": 6.6743
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1745803356170654,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1229
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.112
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.1001
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0538
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0467
                        }
                      ],
                      "others": -0.006,
                      "total": 1.1746
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10813242942094803,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0176
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0133
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.005
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0047
                        }
                      ],
                      "others": 0.0047,
                      "total": 0.1081
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12861430644989014,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0357
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0076
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0067
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0057
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.1286
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04902184009552002,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0282
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0107
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0069
                        }
                      ],
                      "others": -0.007,
                      "total": 0.049
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.871396064758301,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0519
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0183
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0162
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0157
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0129
                        }
                      ],
                      "others": 0.0284,
                      "total": 6.8714
                    }
                  }
                ],
                "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.1061,
                "assists": 0,
                "expected_goals": 0.0481,
                "rating": 6.7424,
                "minutes": 82,
                "total_pass": 41,
                "accurate_pass": 34,
                "duels_won": 5,
                "total_long_balls": 7,
                "accurate_long_balls": 3,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 13.7372,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 21,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0650)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1061,
                "assists": 0,
                "expected_goals": 0.0481,
                "rating": 6.7424,
                "minutes": 82,
                "total_pass": 41,
                "accurate_pass": 34,
                "duels_won": 5,
                "total_long_balls": 7,
                "accurate_long_balls": 3,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 13.7372,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 21,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.75
              },
              "params": {
                "blend_weight": 0.065,
                "history_matches": 4,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.337
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1262,
                  "after": 0.1421
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0259,
                "assists": 0,
                "expected_goals": 0.0117,
                "rating": 6.7424,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 3.3537,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.307
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0259,
                "assists": 0,
                "expected_goals": 0.0117,
                "rating": 6.7424,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 3.3537,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0259,
                "assists": 0,
                "expected_goals": 0.0117,
                "rating": 6.7424,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 3.3537,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "total_shots": 0,
                "offsides": 0,
                "yellowCards": 0.3704,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 89.3,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3158,
                "fifa_rank": 1956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Fran Pérez": {
          "player_id": 966637,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2300000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0126,
            "assists": 0,
            "expected_goals": 0.007,
            "rating": 6.5498,
            "minutes": 22,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 1.0181,
            "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,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 20,
                "rating": 5.4,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 7,
                "duels_won": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 2,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": 3900,
            "combined_rank_score": 1886.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 861.0,
            "sofascore_rating": 6.5621,
            "sofascore_appearances": 29.0,
            "fifa_rank": 2912.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.5498,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel Arias",
                  "ranking": 3895
                },
                {
                  "player_name": "Patrick Mainka",
                  "ranking": 3896
                },
                {
                  "player_name": "Matěj Vydra",
                  "ranking": 3897
                },
                {
                  "player_name": "Timon Wellenreuther",
                  "ranking": 3898
                },
                {
                  "player_name": "Jaroslav Zelený",
                  "ranking": 3899
                }
              ],
              "lower": [
                {
                  "player_name": "Jacobo Ramón",
                  "ranking": 3901
                },
                {
                  "player_name": "Enis Bardhi",
                  "ranking": 3902
                },
                {
                  "player_name": "Edwuin Cetré",
                  "ranking": 3903
                },
                {
                  "player_name": "Mattia Perin",
                  "ranking": 3904
                },
                {
                  "player_name": "Simon Sohm",
                  "ranking": 3905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "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 (4 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0525,
                "assists": 0,
                "expected_goals": 0.0292,
                "rating": 6.6751,
                "minutes": 32,
                "total_pass": 7,
                "accurate_pass": 6,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.25,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 15,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 3.9314,
                  "ballRecovery": 1.3724,
                  "intensity_index": 3.2716,
                  "expectedAssists": 0.0193,
                  "kilometersCovered": 2.9843
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.50934898853302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0655
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0461
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0296
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0231
                        }
                      ],
                      "others": -0.0889,
                      "total": 0.5093
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.052488524466753006,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0139
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0091
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.0204,
                      "total": 0.0525
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08541205525398254,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0072
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0045
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.0854
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029201533645391464,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0312
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0188
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0081
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0054
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0121,
                      "total": 0.0292
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.675073146820068,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0577
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0262
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0247
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0188
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0185
                        }
                      ],
                      "others": -0.0478,
                      "total": 6.6751
                    }
                  }
                ],
                "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": 0,
                "expected_assists": 0.0515,
                "assists": 0,
                "expected_goals": 0.0287,
                "rating": 6.5498,
                "minutes": 31,
                "total_pass": 7,
                "accurate_pass": 5,
                "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": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.1702,
                "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": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 15,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 2300000,
                "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.0126,
                "assists": 0,
                "expected_goals": 0.007,
                "rating": 6.5498,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.0181,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 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.0126,
                "assists": 0,
                "expected_goals": 0.007,
                "rating": 6.5498,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.0181,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0126,
                "assists": 0,
                "expected_goals": 0.007,
                "rating": 6.5498,
                "minutes": 22,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 1.0181,
                "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,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3900,
                "fifa_rank": 2912.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Randy Nteka": {
          "player_id": 932764,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 190,
          "market_value": 1000000,
          "stats": {
            "expected_goals": 0.0405,
            "goal_rate": 0.0525,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0137,
            "key_pass": 0,
            "rating": 6.4893,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4456,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 57.0,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 36.13,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "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,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.2493,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 73,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0091,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 65,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.5919,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "aerial_won": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 5112,
            "combined_rank_score": 3310.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 694.0,
            "sofascore_rating": 6.7077,
            "sofascore_appearances": 13.0,
            "fifa_rank": 5927.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.4893,
            "source_file": "data/player_rankings.csv",
            "player_name": "Randy Nteka",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ilias Chair",
                  "ranking": 5107
                },
                {
                  "player_name": "Diego Sánchez",
                  "ranking": 5108
                },
                {
                  "player_name": "Martín Payero",
                  "ranking": 5109
                },
                {
                  "player_name": "Christoph Klarer",
                  "ranking": 5110
                },
                {
                  "player_name": "Nicolas Madsen",
                  "ranking": 5111
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Gattoni",
                  "ranking": 5113
                },
                {
                  "player_name": "Callum Doyle",
                  "ranking": 5114
                },
                {
                  "player_name": "Caleb Taylor",
                  "ranking": 5115
                },
                {
                  "player_name": "Federico Redondo",
                  "ranking": 5116
                },
                {
                  "player_name": "Pablo",
                  "ranking": 5117
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.13,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 36.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0933,
                "goal_rate": 0.1397,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0347,
                "key_pass": 0,
                "rating": 6.6134,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.67,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 73.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 1.0,
                  "minutesPlayed": 48.207,
                  "touches": 15.0952,
                  "dribbleValueNormalized": 0.0521
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09332941472530365,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0603
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0312
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0139
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.0933
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13974504172801971,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0673
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0518
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0362
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0178
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0219,
                      "total": 0.1397
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5098149180412292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0452
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0194
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0186
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0177
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0158
                        }
                      ],
                      "others": -0.038,
                      "total": 0.5098
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.034744273871183395,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0068
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0036
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0347
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3885466754436493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.176
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0385
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0359
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0254
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0729,
                      "total": 0.3885
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.613415718078613,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0614
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0491
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.049
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0388
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0387
                        }
                      ],
                      "others": -0.0634,
                      "total": 6.6134
                    }
                  }
                ],
                "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.0916,
                "goal_rate": 0.1371,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0341,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.1308,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0341,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.58
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.1371,
                  "after": 0.1308
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0368,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "expected_minutes": 36.13,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0368,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.0405,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0405,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "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,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5112,
                "fifa_rank": 5927.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Raúl de Tomás": {
          "player_id": 138387,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 181,
          "market_value": 440000,
          "stats": {
            "expected_goals": 0.0699,
            "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,
            "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,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "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,
            "fifa_overall": 72.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4233,
            "combined_rank_score": 2256.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4247.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl de Tomás",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jon Gorenc Stanković",
                  "ranking": 4228
                },
                {
                  "player_name": "Grégoire Coudert",
                  "ranking": 4229
                },
                {
                  "player_name": "Veljko Milosavljević",
                  "ranking": 4230
                },
                {
                  "player_name": "Harrison Reed",
                  "ranking": 4231
                },
                {
                  "player_name": "Mark McKenzie",
                  "ranking": 4232
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Dani Lorenzo",
                  "ranking": 4238
                }
              ]
            }
          },
          "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 (€440,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,
                "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": 440000,
                "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,
                "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,
                "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.0699,
                "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,
                "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,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0635,
                  "after": 0.0699
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0699,
                "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,
                "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,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "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,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4233,
                "fifa_rank": 4247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 72.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Randy Nteka": {
          "player_id": 932764,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 190,
          "market_value": 1000000,
          "stats": {
            "expected_goals": 0.0405,
            "goal_rate": 0.0525,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0137,
            "key_pass": 0,
            "rating": 6.4893,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4456,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 57.0,
            "pointsPerMatch": 0.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 36.13,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "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,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.2493,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 73,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0091,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 65,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.5919,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "aerial_won": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 5112,
            "combined_rank_score": 3310.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 694.0,
            "sofascore_rating": 6.7077,
            "sofascore_appearances": 13.0,
            "fifa_rank": 5927.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.4893,
            "source_file": "data/player_rankings.csv",
            "player_name": "Randy Nteka",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ilias Chair",
                  "ranking": 5107
                },
                {
                  "player_name": "Diego Sánchez",
                  "ranking": 5108
                },
                {
                  "player_name": "Martín Payero",
                  "ranking": 5109
                },
                {
                  "player_name": "Christoph Klarer",
                  "ranking": 5110
                },
                {
                  "player_name": "Nicolas Madsen",
                  "ranking": 5111
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Gattoni",
                  "ranking": 5113
                },
                {
                  "player_name": "Callum Doyle",
                  "ranking": 5114
                },
                {
                  "player_name": "Caleb Taylor",
                  "ranking": 5115
                },
                {
                  "player_name": "Federico Redondo",
                  "ranking": 5116
                },
                {
                  "player_name": "Pablo",
                  "ranking": 5117
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.13,
            "bench_appearance_prob": 0.591,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 36.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0933,
                "goal_rate": 0.1397,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0347,
                "key_pass": 0,
                "rating": 6.6134,
                "minutes": 51,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 3.67,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 73.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3887,
                  "totalShots": 1.0,
                  "minutesPlayed": 48.207,
                  "touches": 15.0952,
                  "dribbleValueNormalized": 0.0521
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09332941472530365,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0603
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0312
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0139
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.0933
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13974504172801971,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0673
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0518
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0362
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0178
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0219,
                      "total": 0.1397
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5098149180412292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0452
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0194
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0186
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0177
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0158
                        }
                      ],
                      "others": -0.038,
                      "total": 0.5098
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.034744273871183395,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0068
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0036
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0347
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3885466754436493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.176
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0385
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0359
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0254
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0729,
                      "total": 0.3885
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.613415718078613,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0614
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0491
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.049
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0388
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0387
                        }
                      ],
                      "others": -0.0634,
                      "total": 6.6134
                    }
                  }
                ],
                "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.0916,
                "goal_rate": 0.1371,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0341,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.1308,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0341,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 50,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 3.6011,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": -0.58
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.1371,
                  "after": 0.1308
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0368,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "params": {
                "expected_minutes": 36.13,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0368,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13
              },
              "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.0405,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0405,
                "goal_rate": 0.0525,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0137,
                "key_pass": 0,
                "rating": 6.4893,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.4456,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 57.0,
                "pointsPerMatch": 0.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 36.13,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "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,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5112,
                "fifa_rank": 5927.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Raúl de Tomás": {
          "player_id": 138387,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 181,
          "market_value": 440000,
          "stats": {
            "expected_goals": 0.0699,
            "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,
            "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,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.255,
            "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,
            "fifa_overall": 72.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4233,
            "combined_rank_score": 2256.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4247.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raúl de Tomás",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jon Gorenc Stanković",
                  "ranking": 4228
                },
                {
                  "player_name": "Grégoire Coudert",
                  "ranking": 4229
                },
                {
                  "player_name": "Veljko Milosavljević",
                  "ranking": 4230
                },
                {
                  "player_name": "Harrison Reed",
                  "ranking": 4231
                },
                {
                  "player_name": "Mark McKenzie",
                  "ranking": 4232
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Dani Lorenzo",
                  "ranking": 4238
                }
              ]
            }
          },
          "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 (€440,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,
                "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": 440000,
                "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,
                "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,
                "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.21 (squad xG sum 1.1010, xG scale 1.1008)",
              "stats": {
                "expected_goals": 0.0699,
                "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,
                "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,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.212,
                "squad_xg_sum": 1.101,
                "xg_scale": 1.1008,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0635,
                  "after": 0.0699
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0699,
                "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,
                "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,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.255,
                "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,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4233,
                "fifa_rank": 4247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 72.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.21,
        "expected_assists": 0.53,
        "total_shots": 14,
        "shots_on_target": 3,
        "total_passes": 236,
        "interceptions": 6,
        "tackles": 11,
        "avg_rating": 6.82,
        "possession_estimated_pct": 49.0,
        "pressing_actions_per_90": 6.0
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Aimar Oroz",
        "attacker_role": "LW",
        "attacker_market_value": 6900000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.485,
        "defenders": [
          "Adrià Pedrosa"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.434,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.507,
        "xg_contribution": 0.0808,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adrià Pedrosa",
            "role": "RB",
            "market_value": 2700000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.493
          }
        ],
        "duel_analysis": "Aimar Oroz (LW) is slightly favored against Adrià Pedrosa in a direct 1v1 contest. Duel win probability: 51%.  Projected xG contribution: 0.081 — creating consistent moderate threat."
      },
      {
        "attacker": "Raúl Moro",
        "attacker_role": "RW",
        "attacker_market_value": 3300000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.441,
        "defenders": [
          "Andrei Rațiu"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.597,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.354,
        "xg_contribution": 0.0755,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Andrei Rațiu",
            "role": "LB",
            "market_value": 16700000,
            "tackles_attempted": 2.1,
            "tackles_won": 2.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.646
          }
        ],
        "duel_analysis": "Raúl Moro (RW) faces tough defensive resistance against Andrei Rațiu in a direct 1v1 contest. Duel win probability: 35%.  Projected xG contribution: 0.076 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Jonathan Dubasin",
        "attacker_role": "CAM",
        "attacker_market_value": 4300000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.454,
        "defenders": [
          "Isi Palazón"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.511,
        "xg_contribution": 0.0631,
        "shots_in_zone": 2.5,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.0,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Isi Palazón",
            "role": "CDM",
            "market_value": 3000000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.489
          }
        ],
        "duel_analysis": "Jonathan Dubasin (CAM) is slightly favored against Isi Palazón in a direct 1v1 contest. Duel win probability: 51%.  Projected xG contribution: 0.063 — creating consistent moderate threat."
      },
      {
        "attacker": "Raúl García de Haro",
        "attacker_role": "ST",
        "attacker_market_value": 3100000,
        "attacker_height": 192,
        "attacker_skill_quality": 0.439,
        "defenders": [
          "Marash Kumbulla",
          "Mujaid Sadick"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.447,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.212,
        "xg_contribution": 0.1159,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 2.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Marash Kumbulla",
            "role": "CB",
            "market_value": 2800000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.788
          },
          {
            "player": "Mujaid Sadick",
            "role": "CB",
            "market_value": 4700000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.788
          }
        ],
        "duel_analysis": "Raúl García de Haro (ST) is heavily outmatched defensively against Marash Kumbulla and Mujaid Sadick in a 2-defender block. Duel win probability: 21%.  Projected xG contribution: 0.116 — with very limited chance creation expected."
      },
      {
        "attacker": "Jon Moncayola",
        "attacker_role": "CDM",
        "attacker_market_value": 7300000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Pedro Díaz"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.436,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.432,
        "xg_contribution": 0.034,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pedro Díaz",
            "role": "CM",
            "market_value": 2900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.7,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.568
          }
        ],
        "duel_analysis": "Jon Moncayola (CDM) is evenly matched against Pedro Díaz in a direct 1v1 contest. Duel win probability: 43%.  Projected xG contribution: 0.034 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Jorge de Frutos",
        "attacker_role": "LW",
        "attacker_market_value": 10900000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.533,
        "defenders": [
          "Valentin Rosier"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.439,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.514,
        "xg_contribution": 0.2635,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Valentin Rosier",
            "role": "RB",
            "market_value": 3100000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.486
          }
        ],
        "duel_analysis": "Jorge de Frutos (LW) is slightly favored against Valentin Rosier in a direct 1v1 contest. Duel win probability: 51%.  Projected xG contribution: 0.263 — creating consistent moderate threat."
      },
      {
        "attacker": "Sergio Camello",
        "attacker_role": "RW",
        "attacker_market_value": 3300000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.441,
        "defenders": [
          "Enzo Boyomo"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.575,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.404,
        "xg_contribution": 0.2775,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Enzo Boyomo",
            "role": "LB",
            "market_value": 14600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.596
          }
        ],
        "duel_analysis": "Sergio Camello (RW) faces tough defensive resistance against Enzo Boyomo in a direct 1v1 contest. Duel win probability: 40%.  Projected xG contribution: 0.277 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Alemão",
        "attacker_role": "ST",
        "attacker_market_value": 4400000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.455,
        "defenders": [
          "Abel Bretones",
          "Jorge Herrando"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.441,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1064,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Abel Bretones",
            "role": "CB",
            "market_value": 3400000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Jorge Herrando",
            "role": "CB",
            "market_value": 3200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Alemão (ST) is heavily outmatched defensively against Abel Bretones and Jorge Herrando in a 2-defender block. Duel win probability: 18%.  Projected xG contribution: 0.106 — with very limited chance creation expected."
      },
      {
        "attacker": "Isi Palazón",
        "attacker_role": "CDM",
        "attacker_market_value": 3000000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Jon Moncayola"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.49,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.344,
        "xg_contribution": 0.0417,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jon Moncayola",
            "role": "CDM",
            "market_value": 7300000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.656
          }
        ],
        "duel_analysis": "Isi Palazón (CDM) faces tough defensive resistance against Jon Moncayola in a direct 1v1 contest. Duel win probability: 34%.  Projected xG contribution: 0.042 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Pedro Díaz",
        "attacker_role": "CM",
        "attacker_market_value": 2900000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.436,
        "defenders": [
          "Jon Moncayola"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.49,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.418,
        "xg_contribution": 0.0458,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jon Moncayola",
            "role": "CDM",
            "market_value": 7300000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.582
          }
        ],
        "duel_analysis": "Pedro Díaz (CM) faces tough defensive resistance against Jon Moncayola in a direct 1v1 contest. Duel win probability: 42%.  Projected xG contribution: 0.046 — and is restricted in space and time on the ball."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.52,
      "away_midfield_power": 0.436,
      "home_creative_power": 0.428,
      "away_creative_power": 0.37,
      "home_defensive_power": 0.397,
      "away_defensive_power": 0.37,
      "home_dominance_ratio": 0.544,
      "home_midfield_count": 5,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Jon Moncayola",
        "Aimar Oroz",
        "Romain Del Castillo",
        "Jonathan Dubasin",
        "Raúl Moro"
      ],
      "away_midfield_players": [
        "Isi Palazón",
        "Pedro Díaz",
        "Giorgi Tsitaishvili"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 51.0,
      "estimated_possession_away_pct": 49.0,
      "home_pressing_actions_per_90": 6.3,
      "away_pressing_actions_per_90": 6.0,
      "home_key_passes_projected": 4.1,
      "away_key_passes_projected": 3.7,
      "home_throughball_threat": 1.9,
      "away_throughball_threat": 1.7,
      "key_personal_duel": "Jon Moncayola vs Isi Palazón",
      "midfield_lambda_factor_home": 1.015,
      "midfield_lambda_factor_away": 0.988
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "4-3-3",
      "home_tactical_bonus": -0.01,
      "away_tactical_bonus": 0.03,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 4-3-3. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.125,
    "away_lambda": 1.212,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Wing vs Right Back — Flank Battle"
    ],
    "away_top_threat_zones": [
      "Right Wing vs Left Back — Flank Battle",
      "Left Wing vs Right Back — Flank Battle"
    ],
    "home_player_antagonists": {
      "Aimar Oroz": {
        "opponents": [
          "Adrià Pedrosa",
          "Isi Palazón"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Raúl Moro": {
        "opponents": [
          "Andrei Rațiu",
          "Pedro Díaz"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jonathan Dubasin": {
        "opponents": [
          "Isi Palazón"
        ],
        "primary_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Raúl García de Haro": {
        "opponents": [
          "Marash Kumbulla",
          "Mujaid Sadick"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jon Moncayola": {
        "opponents": [
          "Pedro Díaz",
          "Isi Palazón"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Valentin Rosier": {
        "opponents": [
          "Jorge de Frutos"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Enzo Boyomo": {
        "opponents": [
          "Sergio Camello"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Abel Bretones": {
        "opponents": [
          "Alemão"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Jorge Herrando": {
        "opponents": [
          "Alemão"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Romain Del Castillo": {
        "opponents": [
          "Giorgi Tsitaishvili"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Sergio Herrera": {
        "opponents": [
          "Jorge de Frutos",
          "Sergio Camello"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Adrià Pedrosa": {
        "opponents": [
          "Aimar Oroz"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Andrei Rațiu": {
        "opponents": [
          "Raúl Moro"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Isi Palazón": {
        "opponents": [
          "Jonathan Dubasin",
          "Jon Moncayola",
          "Aimar Oroz"
        ],
        "primary_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Marash Kumbulla": {
        "opponents": [
          "Raúl García de Haro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Mujaid Sadick": {
        "opponents": [
          "Raúl García de Haro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pedro Díaz": {
        "opponents": [
          "Jon Moncayola",
          "Raúl Moro"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Jorge de Frutos": {
        "opponents": [
          "Valentin Rosier"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Sergio Camello": {
        "opponents": [
          "Enzo Boyomo"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Alemão": {
        "opponents": [
          "Abel Bretones",
          "Jorge Herrando"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Giorgi Tsitaishvili": {
        "opponents": [
          "Romain Del Castillo"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Augusto Batalla": {
        "opponents": [
          "Raúl García de Haro",
          "Romain Del Castillo"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Jon Moncayola vs Isi Palazón will be the pivotal duel. Total antagonist xG — Home: 0.37, Away: 0.73. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Right Wing vs Left Back — Flank Battle.",
    "lambda_factors": {
      "home_gk_opposition_factor": 0.9965,
      "away_gk_opposition_factor": 1.0127,
      "home_set_piece_bonus": 0.133,
      "away_set_piece_bonus": 0.046,
      "home_defensive_solidity_vs": 0.9814,
      "away_defensive_solidity_vs": 0.9939,
      "home_midfield_factor": 1.015,
      "away_midfield_factor": 0.988,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.4684,
      "away_avg_quality": 0.4661,
      "avg_quality_gap": 0.0023,
      "squad_value_gap_log": 0.0231,
      "top5_value_gap_log": -0.0101,
      "attack_value_gap_log": 0.1046,
      "elite_count_gap": 0,
      "combined_quality_gap": 0.0069,
      "stronger_lambda_boost": 0.0,
      "weaker_lambda_suppression": 0.0,
      "home_bench_lambda_bonus": 0.0714,
      "away_bench_lambda_bonus": 0.0743,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Osasuna",
        "away_squad": "Rayo Vallecano",
        "home_goals_per90": 1.0,
        "away_goals_against_per90": 1.33,
        "away_goals_per90": 1.3333333333333333,
        "home_goals_against_per90": 1.0,
        "home_empirical_lambda": 0.985,
        "away_empirical_lambda": 0.988,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.02,
      "pre_competitive_floor_home_lambda": 1.125,
      "pre_competitive_floor_away_lambda": 1.212,
      "pre_calibration_home_lambda": 1.1251,
      "pre_calibration_away_lambda": 1.212,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.125,
      "final_away_lambda": 1.212
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 8,
    "opponent_position": 14,
    "standing_lambda_multiplier": 1.3855,
    "attack_index": 1.041,
    "defense_concede_index": 2.082,
    "form_multiplier": 1.038,
    "team_attack_rate_contextual": 1.25,
    "opp_defense_rate_contextual": 2.5,
    "team_ppg": 1.75,
    "opponent_ppg": 1.0
  },
  "away_standing": {
    "available": true,
    "team_position": 14,
    "opponent_position": 8,
    "standing_lambda_multiplier": 1.272,
    "attack_index": 1.458,
    "defense_concede_index": 1.249,
    "form_multiplier": 0.962,
    "team_attack_rate_contextual": 1.75,
    "opp_defense_rate_contextual": 1.5,
    "team_ppg": 1.0,
    "opponent_ppg": 1.75
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Osasuna vs Rayo Vallecano. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 4-3-3 (duel lambdas: Home 1.125, Away 1.212). Final calibrated Poisson lambdas: Home 1.125, Away 1.212 (most likely score 0-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 9,
      "home_fbref_players": 8,
      "away_starters_count": 11,
      "away_xgboost_players": 9,
      "away_fbref_players": 5,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Osasuna",
      "away_squad": "Rayo Vallecano",
      "home_goals_per90": 1.0,
      "away_goals_against_per90": 1.33,
      "away_goals_per90": 1.3333333333333333,
      "home_goals_against_per90": 1.0,
      "home_empirical_lambda": 0.985,
      "away_empirical_lambda": 0.988,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.125,
      "away_lambda": 1.212,
      "micro_duel_home_lambda": 1.125,
      "micro_duel_away_lambda": 1.212
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-09-18T13:31:30Z",
  "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,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "rating": 10.0,
    "minutesPlayed": 95.0,
    "duelWon": 20.0,
    "ballRecovery": 18.0,
    "fouls": 8.0
  }
}